From 4e35d1fdd777d65ae1f022e301bd35a817e9b4a2 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 4 Jun 2016 01:38:44 +0200 Subject: [PATCH] objects/screen.c: fix warning about unused var: "found" (#943) --- objects/screen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/objects/screen.c b/objects/screen.c index 0791ea31b..f1ad03a02 100644 --- a/objects/screen.c +++ b/objects/screen.c @@ -255,7 +255,6 @@ screen_scan_randr_monitors(lua_State *L, screen_array_t *screens) xcb_randr_get_monitors_cookie_t monitors_c = xcb_randr_get_monitors(globalconf.connection, globalconf.screen->root, 1); xcb_randr_get_monitors_reply_t *monitors_r = xcb_randr_get_monitors_reply(globalconf.connection, monitors_c, NULL); xcb_randr_monitor_info_iterator_t monitor_iter; - bool found = false; for(monitor_iter = xcb_randr_get_monitors_monitors_iterator(monitors_r); monitor_iter.rem; xcb_randr_monitor_info_next(&monitor_iter))