From f8129ecbc5147a62d93d6bac5e61e5ce79d89667 Mon Sep 17 00:00:00 2001 From: Ryan Walklin Date: Sat, 15 Dec 2018 14:59:51 +1100 Subject: Remove unused variables --- rootston/switch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/rootston/switch.c b/rootston/switch.c index b480e054..65c5e627 100644 --- a/rootston/switch.c +++ b/rootston/switch.c @@ -13,8 +13,6 @@ void roots_switch_handle_toggle(struct roots_switch *lid_switch, struct wl_list *bound_switches = &lid_switch->seat->input->server->config->switches; struct roots_switch_config *sc; wl_list_for_each(sc, bound_switches, link) { - bool device_match = false; - bool state_match = false; if ((sc->name != NULL && strcmp(event->device->name, sc->name) != 0) && (sc->name == NULL && event->switch_type != sc->switch_type)) { continue; -- cgit v1.2.3