From 19483125f8da79cb270cb8d6df76b2e67100c089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 3 Jul 2020 15:19:52 +0200 Subject: Cleanup: Editors/Mesh, Clang-Tidy else-after-return fixes This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/mesh` module. No functional changes. --- source/blender/editors/mesh/editmesh_bevel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/mesh/editmesh_bevel.c') diff --git a/source/blender/editors/mesh/editmesh_bevel.c b/source/blender/editors/mesh/editmesh_bevel.c index d18f5de357f..58f8c85d820 100644 --- a/source/blender/editors/mesh/editmesh_bevel.c +++ b/source/blender/editors/mesh/editmesh_bevel.c @@ -626,7 +626,7 @@ static bool edbm_bevel_poll_property(const bContext *UNUSED(C), if (STREQ(prop_id, "offset") && offset_type == BEVEL_AMT_PERCENT) { return false; } - else if (STREQ(prop_id, "offset_pct") && offset_type != BEVEL_AMT_PERCENT) { + if (STREQ(prop_id, "offset_pct") && offset_type != BEVEL_AMT_PERCENT) { return false; } } @@ -729,7 +729,7 @@ static int edbm_bevel_modal(bContext *C, wmOperator *op, const wmEvent *event) edbm_bevel_update_status_text(C, op); return OPERATOR_RUNNING_MODAL; } - else if (etype == MOUSEMOVE) { + if (etype == MOUSEMOVE) { if (!has_numinput) { edbm_bevel_mouse_set_value(op, event); edbm_bevel_calc(op); -- cgit v1.2.3