summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/test-bus-chat.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-14 18:42:44 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-14 18:52:24 -0400
commite9b807c1685568d8ed989c2d4c3dcd525ab5549d (patch)
tree293d99f85b664e110244af396ec7bb4a569eed62 /src/libsystemd-bus/test-bus-chat.c
parentee6349a7264e36310bc3a33c889763b396f0d674 (diff)
bus: remove two unused variables
Diffstat (limited to 'src/libsystemd-bus/test-bus-chat.c')
-rw-r--r--src/libsystemd-bus/test-bus-chat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsystemd-bus/test-bus-chat.c b/src/libsystemd-bus/test-bus-chat.c
index 9f4a5597f9..5f9a7ba8b3 100644
--- a/src/libsystemd-bus/test-bus-chat.c
+++ b/src/libsystemd-bus/test-bus-chat.c
@@ -49,8 +49,6 @@ static int object_callback(sd_bus *bus, int error, sd_bus_message *m, void *user
return 0;
if (sd_bus_message_is_method_call(m, "org.object.test", "Foobar")) {
- _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
-
log_info("Invoked Foobar() on %s", sd_bus_message_get_path(m));
r = sd_bus_reply_method_return(bus, m, NULL);
@@ -260,7 +258,7 @@ fail:
}
static void* client1(void*p) {
- _cleanup_bus_message_unref_ sd_bus_message *m = NULL, *reply = NULL;
+ _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
sd_bus *bus = NULL;
sd_bus_error error = SD_BUS_ERROR_NULL;
const char *hello;