Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-10-19 17:19:13 +0300
committerHans Goudey <h.goudey@me.com>2020-10-19 17:19:13 +0300
commitd2bf71b412233160a52775f29799a2c1331c92f4 (patch)
treeb494c4f2c8096cdf01ff1f73cc8b86037ddec48c /source
parent7ef3a634808c1b3c9284d8f8253ca1b4c1d34eb3 (diff)
Fix use of uninitialized variable
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/screen/area.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index af6ed8ac54e..9dbdb37ef27 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -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)) {