diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-02-08 14:28:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-02-08 14:28:06 +0300 |
commit | 4b9c69721010e591c3d7b34ad73a56712ddf0890 (patch) | |
tree | 93e36558f29db6f93ddab6a630cac32f2a6b5e5c /source/blender/editors | |
parent | 4fc0b1638f3a64c582594568f7c958cc6d1a9b78 (diff) |
CLeanup: style
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/armature/pose_edit.c | 3 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_mask.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c index ad0532bec38..ef628208632 100644 --- a/source/blender/editors/armature/pose_edit.c +++ b/source/blender/editors/armature/pose_edit.c @@ -311,8 +311,7 @@ void POSE_OT_paths_update(wmOperatorType *ot) static void ED_pose_clear_paths(Object *ob) { bPoseChannel *pchan; - short skipped = 0; - + if (ELEM(NULL, ob, ob->pose)) return; diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index fa654165f6a..a47b9a0b936 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -295,7 +295,7 @@ int ED_sculpt_mask_box_select(struct bContext *C, ViewContext *vc, const rcti *r MaskTaskData data = { .ob = ob, .pbvh = pbvh, .nodes = nodes, .multires = multires, - .mode = mode, .value = value, .clip_planes_final = clip_planes_final, + .mode = mode, .value = value, .clip_planes_final = clip_planes_final, }; BLI_task_parallel_range( |