diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2010-06-08 18:40:02 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2010-06-08 18:50:20 +0100 |
commit | 8cfeee692566bfafce9572f3649dcd37a64827ce (patch) | |
tree | 254a4bcf4c6e7e888748d7da10c6399aed39e2bd /gabble | |
parent | 6a96b2fc4d97110412d1a18c6cc7da4560bf6b64 (diff) |
Warn if returned caps hashes aren't used.
Diffstat (limited to 'gabble')
-rw-r--r-- | gabble/caps-hash.h | 2 | ||||
-rw-r--r-- | gabble/connection.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gabble/caps-hash.h b/gabble/caps-hash.h index 906573b3b..72e9a6b16 100644 --- a/gabble/caps-hash.h +++ b/gabble/caps-hash.h @@ -27,7 +27,7 @@ G_BEGIN_DECLS gchar *gabble_caps_hash_compute (const GabbleCapabilitySet *cap_set, - const GPtrArray *identities); + const GPtrArray *identities) G_GNUC_WARN_UNUSED_RESULT; G_END_DECLS diff --git a/gabble/connection.h b/gabble/connection.h index 99fb7597a..575412bb0 100644 --- a/gabble/connection.h +++ b/gabble/connection.h @@ -53,7 +53,7 @@ void gabble_connection_update_sidecar_capabilities ( gchar *gabble_connection_add_sidecar_own_caps ( GabbleConnection *connection, const GabbleCapabilitySet *cap_set, - const GPtrArray *identities); + const GPtrArray *identities) G_GNUC_WARN_UNUSED_RESULT; G_END_DECLS |