diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-07-03 18:19:13 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-07-03 18:42:45 +0300 |
commit | bf532b11068d2f203f2a6db573e73c7d6b5b7407 (patch) | |
tree | 37d3c861fd87cad5186abaa8c2685e8229e8422a /source/blender/editors/space_text/text_format.c | |
parent | 2f6fc5a7e8c435275926f37140fc11bd370f82cb (diff) |
Cleanup: Editors/Space/Text, Clang-Tidy else-after-return fixes
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/editors/space_text` module.
No functional changes.
Diffstat (limited to 'source/blender/editors/space_text/text_format.c')
-rw-r--r-- | source/blender/editors/space_text/text_format.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/editors/space_text/text_format.c b/source/blender/editors/space_text/text_format.c index bdbf55d9198..d099f2a20d8 100644 --- a/source/blender/editors/space_text/text_format.c +++ b/source/blender/editors/space_text/text_format.c @@ -222,10 +222,9 @@ TextFormatType *ED_text_format_get(Text *text) * the "default" text format */ return tft_lb.first; } - else { - /* Return the "default" text format */ - return tft_lb.first; - } + + /* Return the "default" text format */ + return tft_lb.first; } bool ED_text_is_syntax_highlight_supported(Text *text) |