Skip to content

Commit ee1ee11

Browse files
committed
Fix unused variable warning in non-debug build after 7d3dfc8 (NFC)
1 parent ba0a52a commit ee1ee11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ExecutionEngine/JITLink/XCOFFLinkGraphBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ static void printSymbolEntry(raw_ostream &OS,
235235
Error XCOFFLinkGraphBuilder::processCsectsAndSymbols() {
236236
LLVM_DEBUG(dbgs() << " Creating graph blocks and symbols...\n");
237237

238-
for (auto [K, V] : SectionTable) {
238+
for ([[maybe_unused]] auto [K, V] : SectionTable) {
239239
LLVM_DEBUG(dbgs() << " section entry(idx: " << K
240240
<< " section: " << V.Section->getName() << ")\n");
241241
}

0 commit comments

Comments
 (0)