diff options
author | David Robillard <d@drobilla.net> | 2024-12-11 10:06:03 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-12-11 10:06:33 -0500 |
commit | 8874670463276073fe6cdb0bccd0d9a9a982b4c5 (patch) | |
tree | 3a95fee69e627c0bac27206b2db7de1fcf17abc0 /src/posix/filesystem_posix.c | |
parent | 52048ee6db71982693cdeb603e725a867afd99e5 (diff) | |
download | zix-8874670463276073fe6cdb0bccd0d9a9a982b4c5.tar.gz zix-8874670463276073fe6cdb0bccd0d9a9a982b4c5.tar.bz2 zix-8874670463276073fe6cdb0bccd0d9a9a982b4c5.zip |
Fix clang and clang-tidy warnings on Windows
Diffstat (limited to 'src/posix/filesystem_posix.c')
-rw-r--r-- | src/posix/filesystem_posix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/posix/filesystem_posix.c b/src/posix/filesystem_posix.c index bb398c1..ea091e0 100644 --- a/src/posix/filesystem_posix.c +++ b/src/posix/filesystem_posix.c @@ -341,6 +341,9 @@ zix_canonical_path(ZixAllocator* const allocator, const char* const path) } zix_free(allocator, buffer); + +#else + (void)allocator; #endif return NULL; @@ -449,6 +452,7 @@ zix_current_path(ZixAllocator* const allocator) return current; #else + (void)allocator; return NULL; #endif |