X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/ca7f5bb3acf6cb010fb39a3395f4cdc366105bb2..ad131c2579b5e9fda58e5d76bdb20d5949a711ee:/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 */