fix build warning on cb_restack 87/63287/2
authorDuna Oh <duna.oh@samsung.com>
Wed, 23 Mar 2016 05:31:39 +0000 (14:31 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 23 Mar 2016 05:34:47 +0000 (22:34 -0700)
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: If132094d8f4b1918e77153d215f688d440f0f051

src/bin/e_comp_wl.c

index e2bc451..0a0ff90 100644 (file)
@@ -531,10 +531,10 @@ _e_comp_wl_evas_cb_restack(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EIN
         struct wl_resource *res;
         struct wl_client *wc;
 
-        if (!(ec = e_comp_wl->ptr.ec)) return ECORE_CALLBACK_PASS_ON;
-        if (e_object_is_del(E_OBJECT(ec))) return ECORE_CALLBACK_PASS_ON;
-        if (!ec->comp_data->surface) return ECORE_CALLBACK_PASS_ON;
-        if (ec->ignored) return ECORE_CALLBACK_PASS_ON;
+        if (!(ec = e_comp_wl->ptr.ec)) return;
+        if (e_object_is_del(E_OBJECT(ec))) return;
+        if (!ec->comp_data->surface) return;
+        if (ec->ignored) return;
 
         wc = wl_resource_get_client(ec->comp_data->surface);