chiark / gitweb /
bus: remove two unused variables
[elogind.git] / src / libsystemd-bus / test-bus-chat.c
index 9f4a5597f9ff80e67c405e76b6894b84b7ea4b39..5f9a7ba8b3f2696cd9bc9609a553fa8aedefed72 100644 (file)
@@ -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;