commit 58956cb
Michael Forney
·
2016-04-30 20:21:51 +0000 UTC
parent b3f0243
Prevent unused variable warning with ENABLE_LIBINPUT
1 files changed,
+2,
-0
+2,
-0
1@@ -139,7 +139,9 @@ static void
2 handle_swc_event(struct wl_listener *listener, void *data)
3 {
4 struct event *ev = data;
5+#ifndef ENABLE_LIBINPUT
6 struct evdev_device *device, *next;
7+#endif
8
9 switch (ev->type) {
10 case SWC_EVENT_DEACTIVATED: