summaryrefslogtreecommitdiff
path: root/src/gs-listener-dbus.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-13 16:30:40 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-13 16:30:40 +0100
commitf78b6c9444c46c54440b8f6367d88f0e80e72a36 (patch)
tree3bde4b0024bd420907de5b47ac96a233e301b54a /src/gs-listener-dbus.c
parent77a6698715849b735d41b40c319936eea670ce3d (diff)
downloadmate-screensaver-f78b6c9444c46c54440b8f6367d88f0e80e72a36.tar.bz2
mate-screensaver-f78b6c9444c46c54440b8f6367d88f0e80e72a36.tar.xz
remove more unused variables
this avoid some build warnings
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);