diff --git a/openmp/libomptarget/src/device.cpp b/openmp/libomptarget/src/device.cpp index fbbb3970f3e47d..380ee22a9fef2a 100644 --- a/openmp/libomptarget/src/device.cpp +++ b/openmp/libomptarget/src/device.cpp @@ -90,6 +90,7 @@ int DeviceTy::associatePtr(void *HstPtrBegin, void *TgtPtrBegin, int64_t Size) { DPxPTR(newEntry.HstPtrBase), DPxPTR(newEntry.HstPtrBegin), DPxPTR(newEntry.HstPtrEnd), DPxPTR(newEntry.TgtPtrBegin), newEntry.refCountToStr().c_str()); + (void)newEntry; DataMapMtx.unlock();