forked from enlightenment/efl
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
This commit is contained in:
parent
7d4bcd6da1
commit
062bded1a7
|
@ -760,6 +760,7 @@ pinch_object(Eo *obj, int x, int y, int x2, int y2, int dx, int dy, int dx2, int
|
|||
{
|
||||
Evas *e = evas_object_evas_get(obj);
|
||||
int i, idx, idy, idx2, idy2;
|
||||
idx = idy = idx2 = idy2 = 0;
|
||||
evas_event_feed_multi_down(e, 0, x, y, 1, 1, 1, 1, 0, x, y, 0, ts, NULL);
|
||||
evas_event_feed_multi_down(e, 1, x2, y2, 1, 1, 1, 1, 0, x2, y2, 0, ts++, NULL);
|
||||
for (i = 1; i < abs(dx); i++)
|
||||
|
|
Loading…
Reference in New Issue