summaryrefslogtreecommitdiff
path: root/src/login/logind-session.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-01 22:32:22 +0100
committerSven Eden <yamakuzure@gmx.net>2017-11-01 22:32:22 +0100
commit24ed122798bcc6bf5f9652d4ea00768c29e3c6a0 (patch)
tree32c701186fd8fecc6d3141badfef55a69c90811d /src/login/logind-session.c
parent91e69bea9385aa573c1d03989548c42fb3f06a7f (diff)
Remove a bunch of unused variables
gcc does not warn about those, because of the _cleanup_ usage. clang is smarter here.
Diffstat (limited to 'src/login/logind-session.c')
-rw-r--r--src/login/logind-session.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
index ff1552b8a..e9834c9bd 100644
--- a/src/login/logind-session.c
+++ b/src/login/logind-session.c
@@ -1217,7 +1217,6 @@ void session_restore_vt(Session *s) {
.mode = VT_AUTO,
};
- _cleanup_free_ char *utf8 = NULL;
int vt, old_fd;
/* We need to get a fresh handle to the virtual terminal,