diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-11-26 09:59:38 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-11-26 09:59:38 +0300 |
commit | a073e1e401b308411f803b3adbe07a0fb39d6fb1 (patch) | |
tree | a42beac47df54f463e02868198af1dfdc360d803 /source/blender/editors | |
parent | 7b5a6f452aa50f48891c5a01269afdb9a61a3007 (diff) |
Cleanup: Silence clang-tidy warnings.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 3c937c545ea..3d18489c0c9 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -1345,10 +1345,8 @@ bool UI_panel_should_show_background(const ARegion *region, const PanelType *pan /* We never want a background around active tools. */ return false; } - else { - /* Without a header there is no background except for region overlap. */ - return region->overlap != 0; - } + /* Without a header there is no background except for region overlap. */ + return region->overlap != 0; } return true; |