X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/feda7bfaefd9e5fb705d6893f26428a3109e7226..HEAD:/disobedience/globals.c diff --git a/disobedience/globals.c b/disobedience/globals.c index 2734c32..a6b4ca4 100644 --- a/disobedience/globals.c +++ b/disobedience/globals.c @@ -217,9 +217,9 @@ void popup_globals(void) { } /** @brief Called when any global pref changes */ -static void globals_pref_changed(const char *event, +static void globals_pref_changed(const char attribute((unused)) *event, void *eventdata, - void *callbackdata) { + void attribute((unused)) *callbackdata) { const char *pref = eventdata; if(!globals_window) return; /* not paying attention */