Commit 8a858fc6 authored by Peter Hutterer's avatar Peter Hutterer

test: fix a scan-build warning (value set but not read)

This test pre-dates litest_assert_empty_queue(), so let's just use that
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent a1a419df
......@@ -456,7 +456,6 @@ END_TEST
START_TEST(path_add_invalid_path)
{
struct libinput *li;
struct libinput_event *event;
struct libinput_device *device;
li = litest_create_context();
......@@ -468,8 +467,7 @@ START_TEST(path_add_invalid_path)
libinput_dispatch(li);
while ((event = libinput_get_event(li)))
ck_abort();
litest_assert_empty_queue(li);
libinput_unref(li);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment