Fix use of uninitialized variable

This commit is contained in:
Hans Goudey 2020-10-19 09:19:13 -05:00
parent 7ef3a63480
commit d2bf71b412
1 changed files with 1 additions and 1 deletions

View File

@ -3030,7 +3030,7 @@ void ED_region_panels_draw(const bContext *C, ARegion *region)
}
/* scrollers */
bool use_mask;
bool use_mask = false;
rcti mask;
if (region->runtime.category &&
(RGN_ALIGN_ENUM_FROM_MASK(region->alignment) == RGN_ALIGN_RIGHT)) {