diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-12-11 22:56:34 -0600 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-12-11 22:56:34 -0600 |
commit | 67bbadace042845934bd214b313f0232b453d03b (patch) | |
tree | db28f02b2a93682e5715f569348c8058fa3eae43 /libpurple/status.c | |
parent | 860eb6ee142b525b12be58eb770d5db4204800a3 (diff) | |
download | pidgin-67bbadace042845934bd214b313f0232b453d03b.tar.gz |
Bump C standard to C99 for libpurple files and fix warnings
Testing Done:
Touched all source files and compiled; saw no new warnings.
Reviewed at https://reviews.imfreedom.org/r/2122/
Diffstat (limited to 'libpurple/status.c')
-rw-r--r-- | libpurple/status.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libpurple/status.c b/libpurple/status.c index 5962c1bf43..ddf80b8284 100644 --- a/libpurple/status.c +++ b/libpurple/status.c @@ -1192,8 +1192,9 @@ purple_status_new(PurpleStatusType *status_type, PurplePresence *presence) * Status subsystem **************************************************************************/ static void -score_pref_changed_cb(const char *name, PurplePrefType type, - gconstpointer value, gpointer data) +score_pref_changed_cb(G_GNUC_UNUSED const char *name, + G_GNUC_UNUSED PurplePrefType type, gconstpointer value, + gpointer data) { int index = GPOINTER_TO_INT(data); |