systemctl: remove unused variable
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 24 Jan 2018 03:54:12 +0000 (12:54 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 24 Jan 2018 03:54:15 +0000 (12:54 +0900)
Follow-up for 98f609368723529a98f44948569fd2eb2dd9685d.

src/systemctl/systemctl.c

index e5e3803..adfb1f0 100644 (file)
@@ -6247,7 +6247,6 @@ static int normalize_names(char **names, bool warn_if_path) {
 }
 
 static int unit_exists(LookupPaths *lp, const char *unit) {
-        _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
         _cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
         _cleanup_free_ char *path = NULL;
         static const struct bus_properties_map property_map[] = {