From 40be117a7c1de7e5002393a565ab30f310986f4a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Dec 2022 21:43:30 -0500 Subject: Fix warnings on Windows without CreateSymbolicLink --- src/win32/filesystem_win32.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/win32') diff --git a/src/win32/filesystem_win32.c b/src/win32/filesystem_win32.c index b37f7bf..aa19a07 100644 --- a/src/win32/filesystem_win32.c +++ b/src/win32/filesystem_win32.c @@ -279,6 +279,8 @@ zix_create_symlink(const char* const target_path, const char* const link_path) return zix_windows_status(CreateSymbolicLink(link_path, target_path, flags)); #else + (void)target_path; + (void)link_path; return ZIX_STATUS_NOT_SUPPORTED; #endif } @@ -293,6 +295,8 @@ zix_create_directory_symlink(const char* const target_path, return zix_windows_status(CreateSymbolicLink(link_path, target_path, flags)); #else + (void)target_path; + (void)link_path; return ZIX_STATUS_NOT_SUPPORTED; #endif } -- cgit v1.2.1