Fix 'gcc -Wextra -Wno-unused-parameter'.

This commit is contained in:
Peter Boström
2014-01-04 13:18:38 +01:00
committed by Michael Stapelberg
parent 2314f10778
commit f78c1ba053
10 changed files with 21 additions and 13 deletions

View File

@ -161,7 +161,7 @@ void got_bar_config_update(char *event) {
/* update the configuration with the received settings */
DLOG("Received bar config update \"%s\"\n", event);
int old_mode = config.hide_on_modifier;
bar_display_mode_t old_mode = config.hide_on_modifier;
parse_config_json(event);
if (old_mode != config.hide_on_modifier) {
reconfig_windows(true);