From: devilhorns Date: Wed, 1 Feb 2012 12:29:14 +0000 (+0000) Subject: Elm: Fix 'variable may be used uninitialized' warnings. X-Git-Tag: REL_F_I9500_20120323_1~17^2~795 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4c0ea909663b655cb1c28e0bc3d233ccb724ddd;p=framework%2Fuifw%2Felementary.git Elm: Fix 'variable may be used uninitialized' warnings. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67675 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index 042e750..ae3a39e 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -1610,7 +1610,7 @@ _pan_min_get(Evas_Object *obj, Evas_Coord *y) { Pan *sd = evas_object_smart_data_get(obj); - Evas_Coord mx, my; + Evas_Coord mx = 0, my = 0; if (!sd) return; _pan_max_get(obj, &mx, &my);