- added GCC warning -Wstrict-prototypes
[blender.git] / source / blender / editors / space_view3d / view3d_select.c
index 2159aef069578ed83b3866afc338cb01f13f0592..a3289c4cdc0c789f0a30fd9ca6d438cf8fdc2fb3 100644 (file)
@@ -365,11 +365,8 @@ static void do_lasso_select_pose(ViewContext *vc, Object *ob, short mcords[][2],
                }
        }
        
-       {
-               bArmature *arm= ob->data;
-               if(arm->act_bone && (arm->act_bone->flag & BONE_SELECTED)==0) {
-                       arm->act_bone= NULL;
-               }
+       if(arm->act_bone && (arm->act_bone->flag & BONE_SELECTED)==0) {
+               arm->act_bone= NULL;
        }
 }