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/tty-ask-password-agent/tty-ask-password-agent.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/tty-ask-password-agent') diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c index 56110ba375..54a03af082 100644 --- a/src/tty-ask-password-agent/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent/tty-ask-password-agent.c @@ -295,7 +295,6 @@ static int wall_tty_block(void) { static int process_password_files(void) { _cleanup_closedir_ DIR *d = NULL; - struct dirent *de; int r = 0; d = opendir("/run/systemd/ask-password"); -- cgit v1.2.1