[PATCH libinput 5/5] evdev: fix a compiler warning about a missing field initializer

Peter Hutterer peter.hutterer at who-t.net
Wed May 10 03:48:00 UTC 2017


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/evdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/evdev.c b/src/evdev.c
index d24a5646..a2be6fce 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -92,7 +92,7 @@ static const struct evdev_udev_tag_match evdev_udev_tag_matches[] = {
 	{"ID_INPUT_SWITCH",		EVDEV_UDEV_TAG_SWITCH},
 
 	/* sentinel value */
-	{ 0 },
+	{0, 0},
 };
 
 static inline bool
-- 
2.12.2



More information about the wayland-devel mailing list