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:20:10 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-07-03 15:48:37 +0300
commitf3b8792b963b0b2a00fe7fe173f1beb85c209fbb (patch)
tree55ffa18ad4a6f2f03a127469780d47c54ad9bd74 /source/blender/editors/interface/interface_undo.c
parent86e7648f0edc13d613d8fc39af7758e08cfdf9e2 (diff)
Cleanup: Interface, Clang-Tidy else-after-return fixes
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/interface` module. No functional changes.
Diffstat (limited to 'source/blender/editors/interface/interface_undo.c')
-rw-r--r--source/blender/editors/interface/interface_undo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_undo.c b/source/blender/editors/interface/interface_undo.c
index 016bc4159db..304d2254a81 100644
--- a/source/blender/editors/interface/interface_undo.c
+++ b/source/blender/editors/interface/interface_undo.c
@@ -88,9 +88,7 @@ const char *ui_textedit_undo(uiUndoStack_Text *stack, int direction, int *r_curs
if (direction < 0) {
return ui_textedit_undo_impl(stack, r_cursor_index);
}
- else {
- return ui_textedit_redo_impl(stack, r_cursor_index);
- }
+ return ui_textedit_redo_impl(stack, r_cursor_index);
}
/**