summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-06-20 00:51:10 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-06-20 00:51:10 -0400
commitb3629c7da0b4a406ecc2182fcd766581778173ae (patch)
treea5d806f456d45b708d625a820804894cd8b24734
parentac34b3af131af68e493c3dea071e5aad6eee3ecc (diff)
logind: uninitialized variable
-rw-r--r--src/login/logind.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/login/logind.c b/src/login/logind.c
index d0d18ae540..ea74254b28 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -669,9 +669,7 @@ int manager_enumerate_users(Manager *m) {
assert(m);
/* Add lingering users */
- k = manager_enumerate_linger_users(m);
- if (k < 0)
- r = k;
+ r = manager_enumerate_linger_users(m);
/* Read in user data stored on disk */
d = opendir("/run/systemd/users");