Fix clang -Wextra except -Wunused-parameter.

Cleared all warnings that occur when passing
CFLAGS="-Wall -Wextra -Wno-unused-parameter" to make using clang 3.3 on
Linux x86-64.
This commit is contained in:
Peter Boström
2013-12-25 20:01:37 +01:00
committed by Michael Stapelberg
parent ac74a63662
commit 9c15b9504e
23 changed files with 35 additions and 35 deletions

View File

@ -1034,7 +1034,7 @@ static void property_notify(uint8_t state, xcb_window_t window, xcb_atom_t atom)
struct property_handler_t *handler = NULL;
xcb_get_property_reply_t *propr = NULL;
for (int c = 0; c < sizeof(property_handlers) / sizeof(struct property_handler_t); c++) {
for (size_t c = 0; c < sizeof(property_handlers) / sizeof(struct property_handler_t); c++) {
if (property_handlers[c].atom != atom)
continue;