summaryrefslogtreecommitdiff
path: root/src/gs-listener-dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-listener-dbus.c')
-rw-r--r--src/gs-listener-dbus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
index 3a73612..ec0be3f 100644
--- a/src/gs-listener-dbus.c
+++ b/src/gs-listener-dbus.c
@@ -1005,7 +1005,6 @@ listener_dbus_remove_ref_entry (GSListener *listener,
{
DBusMessage *reply;
DBusError error;
- const char *sender;
guint32 cookie;
dbus_error_init (&error);
@@ -1034,7 +1033,7 @@ listener_dbus_remove_ref_entry (GSListener *listener,
g_error ("No memory");
/* FIXME: check sender is from same connection as entry */
- sender = dbus_message_get_sender (message);
+ dbus_message_get_sender (message);
listener_remove_ref_entry (listener, entry_type, cookie);