[Openmp-commits] [PATCH] D106777: [libomptarget][nfc] Squash unused variable warning

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jul 26 01:54:53 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG93fe84d32fea: [libomptarget][nfc] Squash unused variable warning (authored by JonChesterfield).

Repository:
  rG LLVM Github Monorepo

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

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.361595.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210726/175ef7a7/attachment-0001.bin>


More information about the Openmp-commits mailing list