diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-07-03 18:30:09 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-07-03 18:42:45 +0300 |
commit | 367034f210137754ab4f07a0e7793066d2b69e59 (patch) | |
tree | c3d00a054e8216c24180b7bf2db16c2366a3101c /source/blender/editors/uvedit/uvedit_unwrap_ops.c | |
parent | 651d1aa7c836892e95117e17716605a774c0220b (diff) |
Cleanup: Editors/Space/UV-Edit, Clang-Tidy else-after-return fixes
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/editors/uv_edit` module.
No functional changes.
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_unwrap_ops.c')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_unwrap_ops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index 3227a9557e6..aff73308fb5 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -1981,9 +1981,7 @@ static int uv_from_view_exec(bContext *C, wmOperator *op) if (changed_multi) { return OPERATOR_FINISHED; } - else { - return OPERATOR_CANCELLED; - } + return OPERATOR_CANCELLED; } static bool uv_from_view_poll(bContext *C) |