summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-22 20:42:12 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-22 20:42:12 +0000
commitfe154990c1c57fac6d5a4b1bfb682e27adb4eb8c (patch)
treef2bbad2d3535a267d934e85eeadf1d652936d5eb /src/fileio.c
parent6f2465d336a9d4afe392db4084ef7e9db17e67c1 (diff)
patch 8.2.4610: some conditions are always truev8.2.4610
Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 21417c27fe..9ef2dbd3bc 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4933,7 +4933,7 @@ readdir_core(
break;
}
- if (!ignore && checkitem != NULL)
+ if (checkitem != NULL)
{
int r = checkitem(context, item);