Silence false positive uninitialized warning

Techically we would never get to the part where we would use the
uninitialized value due to an assert.
This commit is contained in:
Dalai Felinto 2019-03-22 16:28:17 -03:00
parent c2b2f9baa8
commit 820be185bc
1 changed files with 1 additions and 0 deletions

View File

@ -8434,6 +8434,7 @@ static bool ui_menu_scroll_step(ARegion *ar, uiBlock *block, const int scroll_di
}
else {
BLI_assert(0);
return false;
}
return ui_menu_scroll_to_y(ar, block, my);