Elm: Fix 'variable may be used uninitialized' warnings.
authorChristopher Michael <cpmichael1@comcast.net>
Wed, 1 Feb 2012 12:29:14 +0000 (12:29 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Wed, 1 Feb 2012 12:29:14 +0000 (12:29 +0000)
SVN revision: 67675

src/lib/elm_gengrid.c

index 042e750..ae3a39e 100644 (file)
@@ -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);