mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-23 07:20:38 +01:00
test: fix 3 compiler warnings when building without libwacom
signed/unsigned and an unused variable. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1070>
This commit is contained in:
parent
266ce4218b
commit
6c350ab269
1 changed files with 3 additions and 3 deletions
|
|
@ -226,7 +226,7 @@ START_TEST(pad_button_intuos)
|
|||
|
||||
litest_assert_empty_queue(li);
|
||||
|
||||
litest_assert_int_ge(count, 1);
|
||||
litest_assert_int_ge(count, 1U);
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
|
@ -276,7 +276,7 @@ START_TEST(pad_button_bamboo)
|
|||
|
||||
litest_assert_empty_queue(li);
|
||||
|
||||
litest_assert_int_gt(count, 3);
|
||||
litest_assert_int_gt(count, 3U);
|
||||
#endif
|
||||
}
|
||||
END_TEST
|
||||
|
|
@ -696,7 +696,6 @@ START_TEST(pad_no_left_handed)
|
|||
{
|
||||
struct litest_device *dev = litest_current_device();
|
||||
struct libinput_device *device = dev->libinput_device;
|
||||
enum libinput_config_status status;
|
||||
|
||||
/* Without libwacom we default to left-handed being available */
|
||||
#if HAVE_LIBWACOM
|
||||
|
|
@ -711,6 +710,7 @@ START_TEST(pad_no_left_handed)
|
|||
0);
|
||||
|
||||
#if HAVE_LIBWACOM
|
||||
enum libinput_config_status status;
|
||||
status = libinput_device_config_left_handed_set(dev->libinput_device, 1);
|
||||
litest_assert_enum_eq(status, LIBINPUT_CONFIG_STATUS_UNSUPPORTED);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue