mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-11 21:30:22 +01:00
test: correct the libevdev initialization in two tests
These are used to create a new struct libevdev so let's not wrongly initialize them to an existing struct. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1186>
This commit is contained in:
parent
c59453e4ab
commit
589850e8df
1 changed files with 1 additions and 1 deletions
|
|
@ -765,7 +765,7 @@ START_TEST(lid_update_hw_on_key_closed_on_init)
|
|||
struct litest_device *sw = litest_current_device();
|
||||
struct libinput *li;
|
||||
struct litest_device *keyboard;
|
||||
struct libevdev *evdev = sw->evdev;
|
||||
struct libevdev *evdev;
|
||||
struct input_event event;
|
||||
int fd;
|
||||
int rc;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue