diff options
-rw-r--r-- | offload/libomptarget/omptarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/offload/libomptarget/omptarget.cpp b/offload/libomptarget/omptarget.cpp index a1950cb..69725e7 100644 --- a/offload/libomptarget/omptarget.cpp +++ b/offload/libomptarget/omptarget.cpp @@ -757,7 +757,7 @@ int processAttachEntries(DeviceTy &Device, AttachInfoTy &AttachInfo, if (!AttachInfo.NewAllocations.empty()) { DP("Tracked %u total new allocations:\n", (unsigned)AttachInfo.NewAllocations.size()); - for (const auto &Alloc : AttachInfo.NewAllocations) { + for ([[maybe_unused]] const auto &Alloc : AttachInfo.NewAllocations) { DP(" Host ptr: " DPxMOD ", Size: %" PRId64 " bytes\n", DPxPTR(Alloc.first), Alloc.second); } |