1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

login: drop an unused variable

Follow-up for 99f1229d76.
This commit is contained in:
Yu Watanabe 2018-04-24 15:42:00 +09:00
parent 33ce73f66c
commit 38d7f50632

View 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_error_free) sd_bus_error error_tty = SD_BUS_ERROR_NULL;
_cleanup_(sd_bus_message_unrefp) sd_bus_message *reply_tty = NULL; _cleanup_(sd_bus_message_unrefp) sd_bus_message *reply_tty = NULL;
const char *id, *user, *seat, *object, *tty = NULL; const char *id, *user, *seat, *object, *tty = NULL;
_cleanup_free_ char *path = NULL;
uint32_t uid; uint32_t uid;
r = sd_bus_message_read(reply, "(susso)", &id, &uid, &user, &seat, &object); r = sd_bus_message_read(reply, "(susso)", &id, &uid, &user, &seat, &object);