[llvm-branch-commits] [llvm] 853c8f9 - [ORC] Fix a warning about an unused variable on Windows. NFC.
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Aug 8 12:20:45 PDT 2022
Author: Martin Storsjö
Date: 2022-08-08T12:20:11-07:00
New Revision: 853c8f927a2445169a1e1944ced94577f0a928ed
URL: https://github.com/llvm/llvm-project/commit/853c8f927a2445169a1e1944ced94577f0a928ed
DIFF: https://github.com/llvm/llvm-project/commit/853c8f927a2445169a1e1944ced94577f0a928ed.diff
LOG: [ORC] Fix a warning about an unused variable on Windows. NFC.
Differential Revision: https://reviews.llvm.org/D131055
(cherry picked from commit 46196db4d305267a5d53ee642debaf408b0821a9)
Added:
Modified:
llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp b/llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
index 17498a6c09f73..caa191cea899d 100644
--- a/llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
@@ -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),
More information about the llvm-branch-commits
mailing list