ecore-evas: Fix compiler warnings about inproper returns

Summary: This fixes missing return values in functions that return
non-void

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-05 12:13:43 -05:00
parent c78fc161cf
commit 7f82494459
1 changed files with 2 additions and 2 deletions

View File

@ -1339,7 +1339,7 @@ _ecore_evas_wl_common_pre_render(Ecore_Evas *ee)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!ee) return;
if (!ee) return 0;
if (ee->in_async_render)
{
/* EDBG("ee=%p is rendering asynchronously, skip", ee); */
@ -1442,7 +1442,7 @@ _ecore_evas_wl_common_render(Ecore_Evas *ee)
Ecore_Wl_Window *win = NULL;
Ecore_Evas_Engine_Wl_Data *wdata;
if (!ee) return;
if (!ee) return 0;
if (!(wdata = ee->engine.data)) return 0;
if (!(win = wdata->win)) return 0;