[PATCH] D131055: [ORC] Fix a warning about an unused variable on Windows. NFC.

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 4 01:15:55 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG46196db4d305: [ORC] Fix a warning about an unused variable on Windows. NFC. (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131055/new/

https://reviews.llvm.org/D131055

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


Index: llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
===================================================================
--- llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
+++ llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
@@ -241,6 +241,7 @@
                                            errno, std::generic_category())));
 
 #elif defined(_WIN32)
+    (void)Size;
 
     if (!UnmapViewOfFile(Base.toPtr<void *>()))
       Err = joinErrors(std::move(Err),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131055.449901.patch
Type: text/x-patch
Size: 558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220804/867e37aa/attachment.bin>


More information about the llvm-commits mailing list