summaryrefslogtreecommitdiff
path: root/telepathy-glib/gnio-util.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-03-15 18:12:23 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2011-03-15 18:12:23 +0000
commitbc812a896a33f184d4ddee6fb20f4659ef60f8f8 (patch)
treeacbb47f51e87999aca34317f019858bb15104282 /telepathy-glib/gnio-util.c
parentf326c123bf76e685cd5258417b8dfd026fad2d65 (diff)
downloadtelepathy-glib-bc812a896a33f184d4ddee6fb20f4659ef60f8f8.tar.gz
Remove dummy local GType variable.
Diffstat (limited to 'telepathy-glib/gnio-util.c')
-rw-r--r--telepathy-glib/gnio-util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/telepathy-glib/gnio-util.c b/telepathy-glib/gnio-util.c
index f693456ab..7b53e3153 100644
--- a/telepathy-glib/gnio-util.c
+++ b/telepathy-glib/gnio-util.c
@@ -379,7 +379,6 @@ _tp_unix_connection_receive_credentials_with_byte (GUnixConnection *connection,
gint nscm;
GSocket *_socket;
gint n;
- volatile GType credentials_message_gtype;
gssize num_bytes_read;
#ifdef __linux__
gboolean turn_off_so_passcreds;
@@ -455,8 +454,7 @@ _tp_unix_connection_receive_credentials_with_byte (GUnixConnection *connection,
vector.size = 1;
/* ensure the type of GUnixCredentialsMessage has been registered with the type system */
- credentials_message_gtype = G_TYPE_UNIX_CREDENTIALS_MESSAGE;
- (void) credentials_message_gtype;
+ (void) (G_TYPE_UNIX_CREDENTIALS_MESSAGE);
num_bytes_read = g_socket_receive_message (_socket,
NULL, /* GSocketAddress **address */
&vector,