Fix compilation in release mode with strict flags

This commit is contained in:
Sergey Sharybin
2013-04-30 12:18:09 +00:00
parent 1ed6ab2f8c
commit bb89b523e7

View File

@@ -6909,6 +6909,7 @@ static bool ui_menu_pass_event_to_parent_if_nonactive(uiPopupBlockHandle *menu,
{
if ((level != 0) && (but == NULL)) {
menu->menuretval = UI_RETURN_OUT | UI_RETURN_OUT_PARENT;
(void) retval; /* so release builds with strict flags are happy as well */
BLI_assert(retval == WM_UI_HANDLER_CONTINUE);
return true;
}