summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-05-17 15:30:52 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-05-17 15:30:52 +0100
commit1110739743ac543118bb8dce8532be8b4476aa94 (patch)
treede9989ae61da44b34d5ac914c25d1d6cc9bdce60
parent0dd0a698abd55e1529ecbe1c1e0a4d43d4d1bb19 (diff)
downloadat-spi2-core-1110739743ac543118bb8dce8532be8b4476aa94.tar.gz
Use the appropriate annotation
This avoids a warning for a unused-but-set variable.
-rw-r--r--registryd/reentrant-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/registryd/reentrant-list.c b/registryd/reentrant-list.c
index 29bdfca8..7f9a7161 100644
--- a/registryd/reentrant-list.c
+++ b/registryd/reentrant-list.c
@@ -45,7 +45,7 @@ spi_re_entrant_list_delete_link (GList * const *element_ptr)
GList *next;
GList *element;
gboolean first_item;
- GList *dummy; /* suppress warning */
+ GList *dummy G_GNUC_UNUSED;
g_return_if_fail (element_ptr != NULL);