From 7953e1c31bede7afcfea46659ebeb89f86c89c97 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Wed, 20 Mar 2024 10:32:46 -0700 Subject: [PATCH] Remove unused variables in glow/glow/lib/Graph/Graph.cpp Reviewed By: palmje Differential Revision: D54378407 --- lib/Graph/Graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Graph/Graph.cpp b/lib/Graph/Graph.cpp index 6ba316bf37..4469790e56 100644 --- a/lib/Graph/Graph.cpp +++ b/lib/Graph/Graph.cpp @@ -5710,7 +5710,7 @@ void Function::createMelWeights(llvm::StringRef prefix, dim_t spectrogramLength, } // Validate Mel ranges. - dim_t melBinFreqWeightsNumValidate = 0; + [[maybe_unused]] dim_t melBinFreqWeightsNumValidate = 0; for (dim_t melIdx = 0; melIdx < numMelBins; melIdx++) { int32_t freqIdxRange = melRangesH.raw(2 * melIdx + 1) - melRangesH.raw(2 * melIdx + 0) + 1;