summaryrefslogtreecommitdiff
path: root/src/login/loginctl.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-04-24 15:42:00 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-04-24 15:42:03 +0900
commit38d7f506322bb1dc21e30ba3588747a6a85233ee (patch)
treefcd25b2ccff360edf0910107cda029968f58e9d2 /src/login/loginctl.c
parent33ce73f66c9e35b16624db17079cb76e25b2c846 (diff)
downloadsystemd-38d7f506322bb1dc21e30ba3588747a6a85233ee.tar.gz
login: drop an unused variable
Follow-up for 99f1229d76da4b805f8f6c6e5e4a878d17d42f93.
Diffstat (limited to 'src/login/loginctl.c')
-rw-r--r--src/login/loginctl.c1
1 files changed, 0 insertions, 1 deletions
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);