summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-02-26 16:34:44 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-26 16:34:44 +0900
commit062bded1a7092486cb91e72f3e78372b770d78e6 (patch)
treeea502a48e4e6366cba0bc902a024f4a74fc1e970
parent7d4bcd6da17c6f398338f5704743682d038e5dfa (diff)
test/suite_helpers : Fix warnings about use to uninitialized value.
Summary: remove warnings. ../src/tests/elementary/suite_helpers.c:779:86: warning: ?idy2? may be used uninitialized in this function [-Wmaybe-uninitialized]. ... Test Plan: N/A Reviewers: YOhoho, Hermet, Jaehyun_Cho Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11417
-rw-r--r--src/tests/elementary/suite_helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/elementary/suite_helpers.c b/src/tests/elementary/suite_helpers.c
index 1d5e1854ea..3deb5ff2bd 100644
--- a/src/tests/elementary/suite_helpers.c
+++ b/src/tests/elementary/suite_helpers.c
@@ -760,6 +760,7 @@ pinch_object(Eo *obj, int x, int y, int x2, int y2, int dx, int dy, int dx2, int
760{ 760{
761 Evas *e = evas_object_evas_get(obj); 761 Evas *e = evas_object_evas_get(obj);
762 int i, idx, idy, idx2, idy2; 762 int i, idx, idy, idx2, idy2;
763 idx = idy = idx2 = idy2 = 0;
763 evas_event_feed_multi_down(e, 0, x, y, 1, 1, 1, 1, 0, x, y, 0, ts, NULL); 764 evas_event_feed_multi_down(e, 0, x, y, 1, 1, 1, 1, 0, x, y, 0, ts, NULL);
764 evas_event_feed_multi_down(e, 1, x2, y2, 1, 1, 1, 1, 0, x2, y2, 0, ts++, NULL); 765 evas_event_feed_multi_down(e, 1, x2, y2, 1, 1, 1, 1, 0, x2, y2, 0, ts++, NULL);
765 for (i = 1; i < abs(dx); i++) 766 for (i = 1; i < abs(dx); i++)