code cleanup: favor braces when blocks have mixed brace use.
[blender.git] / source / blender / editors / armature / armature_add.c
index 531c055..86ec077 100644 (file)
@@ -320,8 +320,8 @@ void updateDuplicateSubtargetObjects(EditBone *dupBone, ListBase *editbones, Obj
        bConstraint  *curcon;
        ListBase     *conlist;
        
-       if ( (pchan = BKE_pose_channel_verify(dst_ob->pose, dupBone->name)) ) {
-               if ( (conlist = &pchan->constraints) ) {
+       if ((pchan = BKE_pose_channel_verify(dst_ob->pose, dupBone->name))) {
+               if ((conlist = &pchan->constraints)) {
                        for (curcon = conlist->first; curcon; curcon = curcon->next) {
                                /* does this constraint have a subtarget in
                                 * this armature?