remove assignments which are unused.
[blender.git] / source / blender / editors / armature / poseobject.c
index bea7155291bb173c90044b4be9fa2657121675ac..21431bb40b5c89ac7f771478f6c7fe37d972da56 100644 (file)
@@ -791,7 +791,7 @@ void pose_copy_menu(Scene *scene)
        } 
        else { /* constraints, optional (note: max we can have is 24 constraints) */
                bConstraint *con, *con_back;
        } 
        else { /* constraints, optional (note: max we can have is 24 constraints) */
                bConstraint *con, *con_back;
-               int const_toggle[24];
+               int const_toggle[24]= {0}; /* XXX, initialize as 0 to quiet errors */
                ListBase const_copy = {NULL, NULL};
                
                BLI_duplicatelist(&const_copy, &(pchanact->constraints));
                ListBase const_copy = {NULL, NULL};
                
                BLI_duplicatelist(&const_copy, &(pchanact->constraints));