ecore wayland: remove build warning 24/53224/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Thu, 3 Dec 2015 02:12:30 +0000 (11:12 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Thu, 3 Dec 2015 02:12:30 +0000 (11:12 +0900)
Change-Id: Ie476e30357f2696ada7bf758f469a9946743a03c

src/lib/ecore_wayland/ecore_wl_window.c

index 0e74a75..aa22ca3 100644 (file)
@@ -872,7 +872,7 @@ ecore_wl_window_type_get(Ecore_Wl_Window *win)
 {
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
 
-   if (!win) return;
+   if (!win) return ECORE_WL_WINDOW_TYPE_NONE;
    return win->type;
 }