test: address gcc warnings on potentially uninitialized variables.

Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Jon A. Cruz 2015-05-29 18:40:25 -07:00 committed by Peter Hutterer
parent 96d4fa0364
commit c388a7e2fe

View file

@ -586,7 +586,8 @@ START_TEST(touch_initial_state)
{
struct litest_device *dev;
struct libinput *libinput1, *libinput2;
struct libinput_event *ev1, *ev2;
struct libinput_event *ev1 = NULL;
struct libinput_event *ev2 = NULL;
struct libinput_event_touch *t1, *t2;
struct libinput_device *device1, *device2;
int axis = _i; /* looped test */