chiark / gitweb /
logind: remove unused variable
authorMichal Sekletar <msekleta@redhat.com>
Fri, 11 Jan 2013 16:06:23 +0000 (17:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 15 Jan 2013 19:50:33 +0000 (20:50 +0100)
src/login/logind-session.c

index b64a5d302d3b33338e27a3f504124310a2c10972..b981e147c9d88e0002309dbaa92cd226f9b66962 100644 (file)
@@ -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;