Silence a bunch of -Wunused-but-set-variable warnings

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen
2011-04-08 15:44:25 -04:00
parent 23818d1e61
commit 0729260141
23 changed files with 52 additions and 62 deletions

View File

@@ -473,6 +473,7 @@ g_unix_connection_receive_credentials (GUnixConnection *connection,
/* ensure the type of GUnixCredentialsMessage has been registered with the type system */
credentials_message_gtype = G_TYPE_UNIX_CREDENTIALS_MESSAGE;
(credentials_message_gtype); /* To avoid -Wunused-but-set-variable */
num_bytes_read = g_socket_receive_message (socket,
NULL, /* GSocketAddress **address */
NULL,