aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/update_walk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/update_walk.c b/src/update_walk.c
index a1796edcb..845f152eb 100644
--- a/src/update_walk.c
+++ b/src/update_walk.c
@@ -563,6 +563,7 @@ directory_child_access(const struct directory *directory,
/* access() is useless on WIN32 */
(void)directory;
(void)name;
+ (void)mode;
return true;
#else
char *path = map_directory_child_fs(directory, name);