Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Remove unused variables in glow/glow/lib/Graph/Graph.cpp #6165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Graph/Graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down