swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 58956cb0eb6fc8db419061052121565eacac4c42
parent b3f02430a7678ddc720837b3c08841c17d749cf6
Author: Michael Forney <mforney@mforney.org>
Date:   Sat, 30 Apr 2016 13:21:51 -0700

Prevent unused variable warning with ENABLE_LIBINPUT

Diffstat:
Mlibswc/seat.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/libswc/seat.c b/libswc/seat.c @@ -139,7 +139,9 @@ static void handle_swc_event(struct wl_listener *listener, void *data) { struct event *ev = data; +#ifndef ENABLE_LIBINPUT struct evdev_device *device, *next; +#endif switch (ev->type) { case SWC_EVENT_DEACTIVATED: