Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-07-03 15:38:26 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-07-03 15:48:38 +0300
commit9dce2c9d1432d2798854b909e6262fbfb94ce3c7 (patch)
tree863025e2198da67fab539b16c107b9569a1fb14c /source/blender/editors/gpencil/gpencil_sculpt_paint.c
parent20869065b86263f72e469df17354bd6631be3712 (diff)
Cleanup: Editors/GPencil, Clang-Tidy else-after-return fixes
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/gpencil` module. No functional changes.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_sculpt_paint.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_sculpt_paint.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/gpencil/gpencil_sculpt_paint.c b/source/blender/editors/gpencil/gpencil_sculpt_paint.c
index d0adcea25c1..20eeab65623 100644
--- a/source/blender/editors/gpencil/gpencil_sculpt_paint.c
+++ b/source/blender/editors/gpencil/gpencil_sculpt_paint.c
@@ -1229,10 +1229,8 @@ static bool gpencil_sculpt_brush_init(bContext *C, wmOperator *op)
op->customdata = NULL;
return false;
}
- else {
- /* initialise customdata */
- gpencil_brush_clone_init(C, gso);
- }
+ /* initialise customdata */
+ gpencil_brush_clone_init(C, gso);
break;
}