From: Christopher Michael Date: Wed, 1 Feb 2012 12:29:14 +0000 (+0000) Subject: Elm: Fix 'variable may be used uninitialized' warnings. X-Git-Tag: v1.0.0~1067 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f62b84a043d715cb03e8a5c75d9459532bdd691;p=platform%2Fupstream%2Felementary.git Elm: Fix 'variable may be used uninitialized' warnings. SVN revision: 67675 --- 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);