diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c index e4d244f9277..0443afa0954 100644 --- a/source/blender/editors/armature/armature_edit.c +++ b/source/blender/editors/armature/armature_edit.c @@ -1074,13 +1074,13 @@ static int armature_split_exec(bContext *C, wmOperator *UNUSED(op)) bArmature *arm = (bArmature *)ob->data; EditBone *bone; - for (bone = arm->edbo->first; bone; bone = bone->next){ - if (bone->parent && (bone->flag & BONE_SELECTED) != (bone->parent->flag & BONE_SELECTED)){ + for (bone = arm->edbo->first; bone; bone = bone->next) { + if (bone->parent && (bone->flag & BONE_SELECTED) != (bone->parent->flag & BONE_SELECTED)) { bone->parent = NULL; bone->flag &= ~BONE_CONNECTED; } } - for (bone = arm->edbo->first; bone; bone = bone->next){ + for (bone = arm->edbo->first; bone; bone = bone->next) { ED_armature_ebone_select_set(bone, (bone->flag & BONE_SELECTED) != 0); } diff --git a/source/blender/editors/metaball/mball_edit.c b/source/blender/editors/metaball/mball_edit.c index 7130166ba0e..deae9f17992 100644 --- a/source/blender/editors/metaball/mball_edit.c +++ b/source/blender/editors/metaball/mball_edit.c @@ -333,6 +333,7 @@ static int mball_select_similar_exec(bContext *C, wmOperator *op) break; default: BLI_assert(0); + break; } if (change) { diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c index 53eaa2aaf72..ebb06693995 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -1341,7 +1341,7 @@ static int track_markers_exec(bContext *C, wmOperator *op) if (clip == NULL) { return OPERATOR_CANCELLED; } - framenr = BKE_movieclip_remap_scene_to_clip_frame(clip, CFRA); + framenr = BKE_movieclip_remap_scene_to_clip_frame(clip, CFRA); fake_user.framenr = framenr; user = &fake_user; }