mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-27 15:00:07 +01:00
test: drop two unreachable statements
This was a copy-paste error in the form of
while(event) {
...}
} while(event);
Found by coverity.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
3b0f068eaf
commit
c9a936f1bb
1 changed files with 2 additions and 2 deletions
|
|
@ -4987,7 +4987,7 @@ verify_left_handed_tablet_motion(struct litest_device *tablet,
|
|||
|
||||
libinput_event_destroy(event);
|
||||
event = libinput_get_event(li);
|
||||
} while (event);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -5048,7 +5048,7 @@ verify_left_handed_touch_motion(struct litest_device *finger,
|
|||
|
||||
libinput_event_destroy(event);
|
||||
event = libinput_get_event(li);
|
||||
} while (event);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue