summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2013-01-11 17:06:23 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-15 20:50:33 +0100
commit0762eaa3272b8c6d900737d610c9314c8610ef75 (patch)
treecee2eeb19c608d31e6f99c52ad37335b015eda27 /src/login
parent38c888a4049438f2521edf38d55f937b53d17a9e (diff)
logind: remove unused variable
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
index b64a5d302d..b981e147c9 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;