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:
parent
c2b2f9baa8
commit
820be185bc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue