Skip to content

Commit 0ead2bd

Browse files
authored
[MLIR][LLVM] Suppress unused variable warning. (#85467)
1 parent 470040b commit 0ead2bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/lib/Target/LLVMIR/DebugTranslation.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ DebugTranslation::translateRecursive(DIRecursiveTypeAttrInterface attr) {
225225
auto setRecursivePlaceholder = [&](llvm::DIType *placeholder) {
226226
[[maybe_unused]] auto [iter, inserted] =
227227
recursiveTypeMap.try_emplace(recursiveId, placeholder);
228+
(void)iter;
229+
(void)inserted;
228230
assert(inserted && "illegal reuse of recursive id");
229231
};
230232

0 commit comments

Comments
 (0)