ecore-evas: Fix compiler warnings about inproper returns
authorChris Michael <cp.michael@samsung.com>
Mon, 5 Jan 2015 17:13:43 +0000 (12:13 -0500)
committerChris Michael <cp.michael@samsung.com>
Mon, 5 Jan 2015 17:14:46 +0000 (12:14 -0500)
Summary: This fixes missing return values in functions that return
non-void

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index fa3d961..1c89f75 100644 (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;