From 38d7f506322bb1dc21e30ba3588747a6a85233ee Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 24 Apr 2018 15:42:00 +0900 Subject: [PATCH] login: drop an unused variable Follow-up for 99f1229d76da4b805f8f6c6e5e4a878d17d42f93. --- src/login/loginctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 665cef8cbd..1e9f50453b 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -154,7 +154,6 @@ static int list_sessions(int argc, char *argv[], void *userdata) { _cleanup_(sd_bus_error_free) sd_bus_error error_tty = SD_BUS_ERROR_NULL; _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply_tty = NULL; const char *id, *user, *seat, *object, *tty = NULL; - _cleanup_free_ char *path = NULL; uint32_t uid; r = sd_bus_message_read(reply, "(susso)", &id, &uid, &user, &seat, &object);