summaryrefslogtreecommitdiff
path: root/libpurple/purpleaccountpresence.c
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2022-12-11 22:56:34 -0600
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2022-12-11 22:56:34 -0600
commit67bbadace042845934bd214b313f0232b453d03b (patch)
treedb28f02b2a93682e5715f569348c8058fa3eae43 /libpurple/purpleaccountpresence.c
parent860eb6ee142b525b12be58eb770d5db4204800a3 (diff)
downloadpidgin-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/purpleaccountpresence.c')
-rw-r--r--libpurple/purpleaccountpresence.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libpurple/purpleaccountpresence.c b/libpurple/purpleaccountpresence.c
index 51d2efe364..2f5cfd813f 100644
--- a/libpurple/purpleaccountpresence.c
+++ b/libpurple/purpleaccountpresence.c
@@ -55,7 +55,8 @@ purple_account_presence_set_account(PurpleAccountPresence *presence,
* PurplePresence Implementation
*****************************************************************************/
static void
-purple_account_presence_update_idle(PurplePresence *presence, gboolean old_idle)
+purple_account_presence_update_idle(PurplePresence *presence,
+ G_GNUC_UNUSED gboolean old_idle)
{
PurpleAccountPresence *account_presence = PURPLE_ACCOUNT_PRESENCE(presence);
PurpleConnection *gc = NULL;
@@ -142,7 +143,7 @@ purple_account_presence_finalize(GObject *obj) {
}
static void
-purple_account_presence_init(PurpleAccountPresence *presence) {
+purple_account_presence_init(G_GNUC_UNUSED PurpleAccountPresence *presence) {
}
static void