diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-07-03 18:30:31 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-07-03 18:42:46 +0300 |
commit | 33a74941c5fd4efb6eefcaace3315d3e2b65681f (patch) | |
tree | 2d3da68b73e4419750c7f767bbb78bf1a303ad18 /source/blender/editors/curve/editcurve_query.c | |
parent | 367034f210137754ab4f07a0e7793066d2b69e59 (diff) |
Cleanup: Editors, Clang-Tidy else-after-return fixes
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/editors` module.
No functional changes.
Diffstat (limited to 'source/blender/editors/curve/editcurve_query.c')
-rw-r--r-- | source/blender/editors/curve/editcurve_query.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve_query.c b/source/blender/editors/curve/editcurve_query.c index 132f7e58e71..774065b06ff 100644 --- a/source/blender/editors/curve/editcurve_query.c +++ b/source/blender/editors/curve/editcurve_query.c @@ -191,7 +191,8 @@ void ED_curve_nurb_vert_selected_find( *r_bezt = NULL; return; } - else if (*r_bezt || *r_bp) { + + if (*r_bezt || *r_bp) { *r_bp = NULL; *r_bezt = NULL; } @@ -214,7 +215,8 @@ void ED_curve_nurb_vert_selected_find( *r_nu = NULL; return; } - else if (*r_bezt || *r_bp) { + + if (*r_bezt || *r_bp) { *r_bp = NULL; *r_bezt = NULL; } |