aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-03-18 19:43:26 +0100
committerMax Kellermann <max@duempel.org>2011-03-18 19:43:26 +0100
commit0fdcd381bc73c34f277ff1b443de0d24e8d15a19 (patch)
tree482d8b0ac5eec65aa762780684f33ad388bb0461 /src
parent4f293ecd6f4c7a07d72fbf0b9d0d454244b12c2a (diff)
downloadmpd-0fdcd381bc73c34f277ff1b443de0d24e8d15a19.tar.gz
mpd-0fdcd381bc73c34f277ff1b443de0d24e8d15a19.tar.xz
mpd-0fdcd381bc73c34f277ff1b443de0d24e8d15a19.zip
update_walk: ignore parameter "mode" on WIN32
Fix compiler warning.
Diffstat (limited to 'src')
-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);