fix: fix compilation issues when building with clang-16

Related-To: NEO-8284
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
Pawel Cieslak
2023-10-10 00:53:05 +00:00
committed by Compute-Runtime-Automation
parent db13d99680
commit 6e481535d0
5 changed files with 3 additions and 19 deletions

View File

@@ -115,7 +115,7 @@ void WddmResidencyController::removeFromTrimCandidateListIfUsed(WddmAllocation *
void WddmResidencyController::checkTrimCandidateCount() {
if (DebugManager.flags.ResidencyDebugEnable.get()) {
uint32_t sum = 0;
[[maybe_unused]] uint32_t sum = 0;
for (auto trimCandidate : trimCandidateList) {
if (trimCandidate != nullptr) {
sum++;