elm_interface_scrollable: Remove unused variables
authorChris Michael <cp.michael@samsung.com>
Wed, 29 Aug 2018 17:20:53 +0000 (13:20 -0400)
committerTaehyub Kim <taehyub.kim@samsung.com>
Fri, 7 Sep 2018 06:41:20 +0000 (15:41 +0900)
src/lib/elementary/elm_interface_scrollable.c

index b1bd2e3..727aabc 100644 (file)
@@ -2647,7 +2647,7 @@ _paging_is_enabled(Elm_Scrollable_Smart_Interface_Data *sid)
 static void
 _elm_scroll_momentum_animator(void *data, const Efl_Event *event EINA_UNUSED)
 {
-   double t, at, dt, p, r;
+   double t, dt, p;
    Elm_Scrollable_Smart_Interface_Data *sid = data;
    Evas_Coord x, y, dx, dy, px, py, maxx, maxy, minx, miny;
    Eina_Bool no_bounce_x_end = EINA_FALSE, no_bounce_y_end = EINA_FALSE;
@@ -3201,9 +3201,8 @@ _elm_scroll_mouse_up_event_cb(void *data,
                        if ((_elm_config->thumbscroll_momentum_friction > 0.0) &&
                            (vel > _elm_config->thumbscroll_momentum_threshold))
                          {
-                            Evas_Coord max_d;
                             int minx, miny, mx, my, px, py;
-                            double tt = 0.0, dtt = 0.0;
+                            double dtt = 0.0;
 
                             elm_obj_pan_pos_min_get
                                   (sid->pan_obj, &minx, &miny);