From: Michal Sekletar Date: Fri, 11 Jan 2013 16:06:23 +0000 (+0100) Subject: logind: remove unused variable X-Git-Tag: debian/247.3-7+deb11u1~2386^2^2~1306 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0762eaa3272b8c6d900737d610c9314c8610ef75;p=systemd.git logind: remove unused variable --- diff --git a/src/login/logind-session.c b/src/login/logind-session.c index b64a5d302..b981e147c 100644 --- a/src/login/logind-session.c +++ b/src/login/logind-session.c @@ -772,7 +772,6 @@ static int get_process_ctty_atime(pid_t pid, usec_t *atime) { } int session_get_idle_hint(Session *s, dual_timestamp *t) { - _cleanup_free_ char *p = NULL; usec_t atime = 0, n; int r; @@ -786,7 +785,7 @@ int session_get_idle_hint(Session *s, dual_timestamp *t) { return s->idle_hint; } - /* Graphical sessions really should really implement a real + /* Graphical sessions should really implement a real * idle hint logic */ if (s->display) goto dont_know;