[Openmp-commits] [PATCH] D106777: [libomptarget][nfc] Squash unused variable warning
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sun Jul 25 16:31:16 PDT 2021
JonChesterfield created this revision.
JonChesterfield added a reviewer: jdenny.
Herald added a subscriber: pengfei.
JonChesterfield requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.
Suppress only current warning on openmp-clang-x86_64-linux-debian
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106777
Files:
openmp/libomptarget/src/device.cpp
Index: openmp/libomptarget/src/device.cpp
===================================================================
--- openmp/libomptarget/src/device.cpp
+++ openmp/libomptarget/src/device.cpp
@@ -90,6 +90,7 @@
DPxPTR(newEntry.HstPtrBase), DPxPTR(newEntry.HstPtrBegin),
DPxPTR(newEntry.HstPtrEnd), DPxPTR(newEntry.TgtPtrBegin),
newEntry.refCountToStr().c_str());
+ (void)newEntry;
DataMapMtx.unlock();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106777.361557.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210725/1789b92e/attachment-0001.bin>
More information about the Openmp-commits
mailing list