From: seoz Date: Mon, 1 Aug 2011 06:49:58 +0000 (+0000) Subject: elm win: Refactoring. Removed unused local variable. X-Git-Tag: REL_F_I9500_20120323_1~17^2~2083 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=378c77926c726424c7ea0381e80056c4fc566f4d;p=framework%2Fuifw%2Felementary.git elm win: Refactoring. Removed unused local variable. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61934 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index b218639..501effb 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -2557,7 +2557,6 @@ _elm_ee_win_get(const Evas_Object *obj) EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj) { - Ecore_X_Window xwin = 0; Elm_Win *win; const char *type; @@ -2567,10 +2566,10 @@ elm_win_xwindow_get(const Evas_Object *obj) if (type != widtype) return _elm_ee_win_get(obj); #ifdef HAVE_ELEMENTARY_X win = elm_widget_data_get(obj); - if (!win) return xwin; + if (!win) return 0; if (win->xwin) return win->xwin; if (win->parent) return elm_win_xwindow_get(win->parent); #endif - return xwin; + return 0; win = NULL; }