Skip to content

Commit 853c8f9

Browse files
mstorsjotstellar
authored andcommitted
[ORC] Fix a warning about an unused variable on Windows. NFC.
Differential Revision: https://reviews.llvm.org/D131055 (cherry picked from commit 46196db)
1 parent 9d1f36d commit 853c8f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ Error ExecutorSharedMemoryMapperService::release(
241241
errno, std::generic_category())));
242242

243243
#elif defined(_WIN32)
244+
(void)Size;
244245

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

0 commit comments

Comments
 (0)