Skip to content

Commit accd8f9

Browse files
[BOLT] Fix a warning
This patch: bolt/lib/Passes/LongJmp.cpp:830:14: error: variable 'NumIterations' set but not used [-Werror,-Wunused-but-set-variable]
1 parent faefedf commit accd8f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bolt/lib/Passes/LongJmp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ void LongJmpPass::relaxLocalBranches(BinaryFunction &BF) {
877877
<< " of " << BF << " in " << NumIterations << " iterations\n";
878878
}
879879
});
880+
(void)NumIterations;
880881
}
881882

882883
// Add trampoline blocks from all fragments to the layout.

0 commit comments

Comments
 (0)