]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
login: drop an unused variable
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 24 Apr 2018 06:42:00 +0000 (15:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 24 Apr 2018 06:42:03 +0000 (15:42 +0900)
Follow-up for 99f1229d76da4b805f8f6c6e5e4a878d17d42f93.

src/login/loginctl.c

index 665cef8cbd734c902374201665dd94eedbca7aa8..1e9f50453b9edfc09cd5ef8c8bcfa935f687f309 100644 (file)
@@ -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);