summaryrefslogtreecommitdiff
path: root/telepathy-glib/gnio-util.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-02-24 14:59:44 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2011-03-15 17:59:21 +0000
commit26fdbe81650249fc3566669124ab988ef0248499 (patch)
tree10807f8de48621ac307623a7bceb4796b5e3a805 /telepathy-glib/gnio-util.c
parente5e8579bd16f3b98a0d0c87f9ba3825cd963fac8 (diff)
downloadtelepathy-glib-26fdbe81650249fc3566669124ab988ef0248499.tar.gz
Fix “Value stored to _ is never read” clang warnings.
Diffstat (limited to 'telepathy-glib/gnio-util.c')
-rw-r--r--telepathy-glib/gnio-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-glib/gnio-util.c b/telepathy-glib/gnio-util.c
index 6bb2cab1a..f693456ab 100644
--- a/telepathy-glib/gnio-util.c
+++ b/telepathy-glib/gnio-util.c
@@ -455,7 +455,8 @@ _tp_unix_connection_receive_credentials_with_byte (GUnixConnection *connection,
vector.size = 1;
/* ensure the type of GUnixCredentialsMessage has been registered with the type system */
- (void) (credentials_message_gtype = G_TYPE_UNIX_CREDENTIALS_MESSAGE);
+ credentials_message_gtype = G_TYPE_UNIX_CREDENTIALS_MESSAGE;
+ (void) credentials_message_gtype;
num_bytes_read = g_socket_receive_message (_socket,
NULL, /* GSocketAddress **address */
&vector,