summaryrefslogtreecommitdiff
path: root/src/pstore
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/pstore
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/pstore')
-rw-r--r--src/pstore/pstore.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pstore/pstore.c b/src/pstore/pstore.c
index 81538d9cb3..d820ceb9f6 100644
--- a/src/pstore/pstore.c
+++ b/src/pstore/pstore.c
@@ -323,7 +323,6 @@ static void process_dmesg_files(PStoreList *list) {
static int list_files(PStoreList *list, const char *sourcepath) {
_cleanup_(closedirp) DIR *dirp = NULL;
- struct dirent *de;
int r;
dirp = opendir(sourcepath);