update_walk: ignore parameter "mode" on WIN32
Fix compiler warning.
This commit is contained in:
parent
4f293ecd6f
commit
0fdcd381bc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue