[Bf-blender-cvs] [a073e1e401b] master: Cleanup: Silence clang-tidy warnings.
Jeroen Bakker
noreply at git.blender.org
Fri Nov 26 08:00:30 CET 2021
Commit: a073e1e401b308411f803b3adbe07a0fb39d6fb1
Author: Jeroen Bakker
Date: Fri Nov 26 07:59:38 2021 +0100
Branches: master
https://developer.blender.org/rBa073e1e401b308411f803b3adbe07a0fb39d6fb1
Cleanup: Silence clang-tidy warnings.
===================================================================
M source/blender/editors/interface/interface_panel.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list