Cleanup: Silence clang-tidy warnings.

This commit is contained in:
Jeroen Bakker 2021-11-26 07:59:38 +01:00
parent 7b5a6f452a
commit a073e1e401
1 changed files with 2 additions and 4 deletions

View File

@ -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;