Elm scroller: Fixed 'may be used uninitialized' warnings.
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Jun 2011 16:43:20 +0000 (16:43 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Jun 2011 16:43:20 +0000 (16:43 +0000)
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@60231 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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;