summaryrefslogtreecommitdiff
path: root/src/mount
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-12-07 12:52:58 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-12-15 22:50:00 +0100
commitaf3b864d76cf916a026b7877099791811b348fdf (patch)
tree40db7161280edc4dcc24b8a0cd20514f45a3ea1f /src/mount
parentc7f0d9e5acef3f62db3640d5ab7446241c022b35 (diff)
downloadsystemd-af3b864d76cf916a026b7877099791811b348fdf.tar.gz
Define FOREACH_DIRENT through FOREACH_DIRENT_ALL
As in the previous commit, 'de' is used as the iterator variable name.
Diffstat (limited to 'src/mount')
-rw-r--r--src/mount/mount-tool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c
index 412ef7813a..b0ea45debc 100644
--- a/src/mount/mount-tool.c
+++ b/src/mount/mount-tool.c
@@ -777,7 +777,6 @@ static int find_mount_points(const char *what, char ***list) {
static int find_loop_device(const char *backing_file, char **loop_dev) {
_cleanup_closedir_ DIR *d = NULL;
- struct dirent *de;
_cleanup_free_ char *l = NULL;
assert(backing_file);