forked from enlightenment/efl
ecore_wl2: Fix a warning
This commit is contained in:
parent
207a0cf3e3
commit
b867b6aa24
|
@ -1035,7 +1035,7 @@ ecore_wl2_window_display_get(const Ecore_Wl2_Window *window)
|
||||||
EINA_SAFETY_ON_NULL_RETURN_VAL(window, NULL);
|
EINA_SAFETY_ON_NULL_RETURN_VAL(window, NULL);
|
||||||
EINA_SAFETY_ON_NULL_RETURN_VAL(window->display, NULL);
|
EINA_SAFETY_ON_NULL_RETURN_VAL(window->display, NULL);
|
||||||
|
|
||||||
if (window->display->recovering) return EINA_FALSE;
|
if (window->display->recovering) return NULL;
|
||||||
|
|
||||||
return window->display;
|
return window->display;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue