gesture_layer: Remove unnecessary value assignment.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 30 Dec 2014 15:12:57 +0000 (00:12 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 30 Dec 2014 15:13:01 +0000 (00:13 +0900)
This fixes coverity CID 1261280.
But this is not critical.

src/lib/elm_gesture_layer.c

index fe2ec64..68630ba 100644 (file)
@@ -1900,8 +1900,8 @@ _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,
-                    &st->info, EINA_FALSE);
+              _state_set(gesture, ELM_GESTURE_STATE_ABORT,
+                         &st->info, EINA_FALSE);
            }
 
          if (gesture->state == ELM_GESTURE_STATE_MOVE)
@@ -1925,8 +1925,8 @@ _tap_gesture_test(Evas_Object *obj,
 
               if (move && (n > 0))
                 {
-                   ev_flag = _state_set(gesture, ELM_GESTURE_STATE_MOVE,
-                         &st->info, EINA_TRUE);
+                   _state_set(gesture, ELM_GESTURE_STATE_MOVE,
+                              &st->info, EINA_TRUE);
                 }
            }
 
@@ -1977,8 +1977,8 @@ _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,
-                         &st->info, EINA_TRUE);
+                   _state_set(gesture, ELM_GESTURE_STATE_MOVE,
+                              &st->info, EINA_TRUE);
                 }
            }