[PATCH libinput 4/8] test: fix compiler warnings for missing field initializers
Peter Hutterer
peter.hutterer at who-t.net
Thu Jun 5 23:19:02 PDT 2014
litest-trackpoint.c:38:1: warning: missing initializer for field 'touch_down'
of 'struct litest_device_interface' [-Wmissing-field-initializers]
and similar
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
test/litest-mouse.c | 1 +
test/litest-trackpoint.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/test/litest-mouse.c b/test/litest-mouse.c
index d1dd8e5..8098ed2 100644
--- a/test/litest-mouse.c
+++ b/test/litest-mouse.c
@@ -35,6 +35,7 @@ static void litest_mouse_setup(void)
}
static struct litest_device_interface interface = {
+ NULL
};
static struct input_id input_id = {
diff --git a/test/litest-trackpoint.c b/test/litest-trackpoint.c
index 3a2cd39..9ead59d 100644
--- a/test/litest-trackpoint.c
+++ b/test/litest-trackpoint.c
@@ -35,6 +35,7 @@ static void litest_trackpoint_setup(void)
}
static struct litest_device_interface interface = {
+ NULL
};
static struct input_id input_id = {
--
1.9.3
More information about the wayland-devel
mailing list