mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-23 07:20:38 +01:00
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:
parent
96d4fa0364
commit
c388a7e2fe
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue