summaryrefslogtreecommitdiffstats
path: root/src/win32
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-18 21:43:30 -0500
committerDavid Robillard <d@drobilla.net>2022-12-18 21:43:30 -0500
commit40be117a7c1de7e5002393a565ab30f310986f4a (patch)
treec367f992d7735690abef46e18e600541a736072b /src/win32
parentf8a70b68665cbcc419f2902c7df388478b53f801 (diff)
downloadzix-40be117a7c1de7e5002393a565ab30f310986f4a.tar.gz
zix-40be117a7c1de7e5002393a565ab30f310986f4a.tar.bz2
zix-40be117a7c1de7e5002393a565ab30f310986f4a.zip
Fix warnings on Windows without CreateSymbolicLink
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/filesystem_win32.c4
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
}