diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-08-07 13:40:29 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-08-07 14:38:06 +0300 |
commit | 47f8c444a4d05950d6544f6d09471f808e64b4ab (patch) | |
tree | c0765f7e0610d4a14b85c1dbfdbc20f443259680 /source/blender/modifiers/intern/MOD_shrinkwrap.c | |
parent | dee359e26e7dd6eb0b51594497d90421801ed877 (diff) |
Cleanup: Modifiers, Clang-Tidy else-after-return fixes
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/modifiers` module.
No functional changes.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_shrinkwrap.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_shrinkwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_shrinkwrap.c b/source/blender/modifiers/intern/MOD_shrinkwrap.c index a5f6be04a08..c40fbffc506 100644 --- a/source/blender/modifiers/intern/MOD_shrinkwrap.c +++ b/source/blender/modifiers/intern/MOD_shrinkwrap.c @@ -96,7 +96,7 @@ static bool isDisabled(const struct Scene *UNUSED(scene), if (!smd->target || smd->target->type != OB_MESH) { return true; } - else if (smd->auxTarget && smd->auxTarget->type != OB_MESH) { + if (smd->auxTarget && smd->auxTarget->type != OB_MESH) { return true; } return false; |