Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Kleine <konrad.wilhelm.kleine@gmail.com>2011-02-21 01:03:49 +0300
committerKonrad Kleine <konrad.wilhelm.kleine@gmail.com>2011-02-21 01:03:49 +0300
commit187f9c5874b7b65bcb030034e17fff5c0b08f6a1 (patch)
tree27b46826999f05523fd427024631746939f9d62d
parent38e7084179118059dd8c6f6ac5db77a86676f742 (diff)
Fixed compilation bug in r35002: C90 forbids mixed declarations and code. I've changed the order of variable declarations.
-rw-r--r--source/blender/editors/armature/poselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/poselib.c b/source/blender/editors/armature/poselib.c
index 739f17efc2a..12abd475142 100644
--- a/source/blender/editors/armature/poselib.c
+++ b/source/blender/editors/armature/poselib.c
@@ -477,12 +477,12 @@ void POSELIB_OT_pose_add (wmOperatorType *ot)
/* can be called with C == NULL */
static EnumPropertyItem *poselib_stored_pose_itemf(bContext *C, PointerRNA *UNUSED(ptr), int *free)
{
- Object *ob = get_poselib_object(C);
- bAction *act = (ob) ? ob->poselib : NULL;;
TimeMarker *marker;
EnumPropertyItem *item= NULL, item_tmp= {0};
int totitem= 0;
int i= 0;
+ Object *ob = get_poselib_object(C);
+ bAction *act = (ob) ? ob->poselib : NULL;
if (C == NULL) {
return DummyRNA_DEFAULT_items;