diff options
| -rw-r--r-- | lib/libc/gen/fts-compat.c | 2 | ||||
| -rw-r--r-- | lib/libc/gen/fts.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/gen/fts-compat.c b/lib/libc/gen/fts-compat.c index 0c5688093792..48f9e0bd49f4 100644 --- a/lib/libc/gen/fts-compat.c +++ b/lib/libc/gen/fts-compat.c @@ -710,8 +710,6 @@ fts_build(sp, type) cur->fts_flags |= FTS_DONTCHDIR; descend = 0; cderrno = errno; - (void)closedir(dirp); - dirp = NULL; } else descend = 1; } else diff --git a/lib/libc/gen/fts.c b/lib/libc/gen/fts.c index 0c5688093792..48f9e0bd49f4 100644 --- a/lib/libc/gen/fts.c +++ b/lib/libc/gen/fts.c @@ -710,8 +710,6 @@ fts_build(sp, type) cur->fts_flags |= FTS_DONTCHDIR; descend = 0; cderrno = errno; - (void)closedir(dirp); - dirp = NULL; } else descend = 1; } else |
