diff options
author | David Robillard <d@drobilla.net> | 2022-12-18 21:43:30 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-18 21:43:30 -0500 |
commit | 40be117a7c1de7e5002393a565ab30f310986f4a (patch) | |
tree | c367f992d7735690abef46e18e600541a736072b | |
parent | f8a70b68665cbcc419f2902c7df388478b53f801 (diff) | |
download | zix-40be117a7c1de7e5002393a565ab30f310986f4a.tar.gz zix-40be117a7c1de7e5002393a565ab30f310986f4a.tar.bz2 zix-40be117a7c1de7e5002393a565ab30f310986f4a.zip |
Fix warnings on Windows without CreateSymbolicLink
-rw-r--r-- | src/win32/filesystem_win32.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |