Skip to content

Commit

Permalink
[ORC] Fix a warning about an unused variable on Windows. NFC.
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D131055

(cherry picked from commit 46196db)
  • Loading branch information
mstorsjo authored and tstellar committed Aug 8, 2022
1 parent 9d1f36d commit 853c8f9
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -241,6 +241,7 @@ Error ExecutorSharedMemoryMapperService::release(
errno, std::generic_category())));

#elif defined(_WIN32)
(void)Size;

if (!UnmapViewOfFile(Base.toPtr<void *>()))
Err = joinErrors(std::move(Err),
Expand Down

0 comments on commit 853c8f9

Please sign in to comment.