Skip to content

Commit 61d3a3a

Browse files
committed
AVRExpandPseudoInsts.cpp: Fix a warning. [-Wunused-but-set-variable]
It has been enabled since llvmorg-15-init-5683-g2af845a6519c, aka D122271.
1 parent 7a0b897 commit 61d3a3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ bool AVRExpandPseudo::runOnMachineFunction(MachineFunction &MF) {
141141
// Continue expanding the block until all pseudos are expanded.
142142
do {
143143
assert(ExpandCount < 10 && "pseudo expand limit reached");
144+
(void)ExpandCount;
144145

145146
bool BlockModified = expandMBB(MBB);
146147
Modified |= BlockModified;

0 commit comments

Comments
 (0)