diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-12-07 12:52:58 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-12-15 22:50:00 +0100 |
commit | af3b864d76cf916a026b7877099791811b348fdf (patch) | |
tree | 40db7161280edc4dcc24b8a0cd20514f45a3ea1f /src/pstore | |
parent | tree-wide: make FOREACH_DIRENT_ALL define the iterator variable (diff) | |
download | systemd-af3b864d76cf916a026b7877099791811b348fdf.tar.xz systemd-af3b864d76cf916a026b7877099791811b348fdf.zip |
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.c | 1 |
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); |