From 83a05f2c89d228a9a92b998b1cbd4a51f3693711 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 17 Jul 2013 01:49:26 +0200 Subject: logind: remove "if (0)" left-over --- src/login/logind-acl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/login/logind-acl.c b/src/login/logind-acl.c index 390b4b2885..25abcbcf80 100644 --- a/src/login/logind-acl.c +++ b/src/login/logind-acl.c @@ -275,9 +275,9 @@ int devnode_acl_all(struct udev *udev, log_debug("Found static node %s for seat %s", n, seat); r = set_put(nodes, n); - if (0 && r < 0 && r != -EEXIST) { + if (r < 0 && r != -EEXIST) goto finish; - } else + else r = 0; } } -- cgit v1.2.3-54-g00ecf