chiark / gitweb /
timedatectl: remove unused variable
[elogind.git] / src / timedate / timedatectl.c
index 48a3b49755dfcd4261a666109cd74d9954c3f067..b63f1f5ad322a78afacd17e8052a6d72c4a9aa63 100644 (file)
 #include "pager.h"
 #include "time-dst.h"
 
-static bool arg_adjust_system_clock = false;
 static bool arg_no_pager = false;
-static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;
 static bool arg_ask_password = true;
+static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;
 static char *arg_host = NULL;
+static bool arg_adjust_system_clock = false;
 
 static void pager_open_if_enabled(void) {
 
@@ -191,7 +191,6 @@ static void print_status_info(StatusInfo *i) {
 }
 
 static int get_timedate_property_bool(sd_bus *bus, const char *name, bool *target) {
-        _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
         _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
         int r, b;
 
@@ -215,7 +214,6 @@ static int get_timedate_property_bool(sd_bus *bus, const char *name, bool *targe
 }
 
 static int get_timedate_property_usec(sd_bus *bus, const char *name, usec_t *target) {
-        _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
         _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
         int r;