- added GCC warning -Wstrict-prototypes
[blender.git] / source / blender / editors / armature / poseobject.c
index 6b12bafc187172f6388b96717311f72b13ee3496..db2e8eb276aa75b18b77c7f6f0e12c4ce6598ba2 100644 (file)
@@ -833,9 +833,7 @@ void pose_copy_menu(Scene *scene)
                                 * appending to list of constraints for this channel
                                 */
                                copy_constraints(&tmp_constraints, &const_copy, TRUE);
-                               if ((ob->proxy) && (pchan->bone->layer & arm->layer_protected)) {
-                                       bConstraint *con;
-                                       
+                               if ((ob->proxy) && (pchan->bone->layer & arm->layer_protected)) {                                       
                                        /* add proxy-local tags */
                                        for (con= tmp_constraints.first; con; con= con->next)
                                                con->flag |= CONSTRAINT_PROXY_LOCAL;