Elm scroller: Fixed 'may be used uninitialized' warnings.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Sat, 11 Jun 2011 16:43:20 +0000 (16:43 +0000)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Sat, 11 Jun 2011 16:43:20 +0000 (16:43 +0000)
SVN revision: 60231

src/lib/els_scroller.c

index 92da7f7..7938f00 100644 (file)
@@ -1673,7 +1673,7 @@ _smart_hold_animator(void *data)
    if (_elm_config->scroll_smooth_amount > 0.0)
      {
         int i, count = 0;
-        Evas_Coord basex, basey, x, y;
+        Evas_Coord basex = 0, basey = 0, x, y;
         double dt, t, tdiff, tnow, twin;
         struct {
            Evas_Coord x, y, dx, dy;