gesture_layer: Fix unused value assignment
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 7 Apr 2015 06:23:47 +0000 (15:23 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 7 Apr 2015 06:27:13 +0000 (15:27 +0900)
Fixes CID1261280

src/lib/elm_gesture_layer.c

index fe2ec64..81a7ee7 100644 (file)
@@ -1900,7 +1900,7 @@ _tap_gesture_test(Evas_Object *obj,
            }
          else if (eina_list_count(pe_list) > st->n_taps_needed)
            {  /* If we arleady got too many touches for this gesture. */
-              ev_flag = _state_set(gesture, ELM_GESTURE_STATE_ABORT,
+              _state_set(gesture, ELM_GESTURE_STATE_ABORT,
                     &st->info, EINA_FALSE);
            }
 
@@ -1925,7 +1925,7 @@ _tap_gesture_test(Evas_Object *obj,
 
               if (move && (n > 0))
                 {
-                   ev_flag = _state_set(gesture, ELM_GESTURE_STATE_MOVE,
+                   _state_set(gesture, ELM_GESTURE_STATE_MOVE,
                          &st->info, EINA_TRUE);
                 }
            }
@@ -1977,7 +1977,7 @@ _tap_gesture_test(Evas_Object *obj,
                    /* We don't report MOVE when (n >= st->n_taps_needed)
                       because will be END or ABORT at this stage */
                    st->info.n = eina_list_count(st->l);
-                   ev_flag = _state_set(gesture, ELM_GESTURE_STATE_MOVE,
+                   _state_set(gesture, ELM_GESTURE_STATE_MOVE,
                          &st->info, EINA_TRUE);
                 }
            }