From af3b864d76cf916a026b7877099791811b348fdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 7 Dec 2021 12:52:58 +0100 Subject: Define FOREACH_DIRENT through FOREACH_DIRENT_ALL As in the previous commit, 'de' is used as the iterator variable name. --- src/userdb/userdbctl.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/userdb') diff --git a/src/userdb/userdbctl.c b/src/userdb/userdbctl.c index 4dac6b0e44..c2acd85742 100644 --- a/src/userdb/userdbctl.c +++ b/src/userdb/userdbctl.c @@ -518,7 +518,6 @@ static int display_memberships(int argc, char *argv[], void *userdata) { static int display_services(int argc, char *argv[], void *userdata) { _cleanup_(table_unrefp) Table *t = NULL; _cleanup_(closedirp) DIR *d = NULL; - struct dirent *de; int r; d = opendir("/run/systemd/userdb/"); -- cgit v1.2.1