Skip to content

Commit 6342095

Browse files
[memprof] Fix a warning
This patch fixes: llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp:3409:8: error: unused variable 'I' [-Werror,-Wunused-variable]
1 parent ef49760 commit 6342095

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3409,6 +3409,7 @@ void CallsiteContextGraph<DerivedCCG, FuncTy, CallTy>::markBackedges(
34093409
auto I = Visited.insert(Node);
34103410
// We should only call this for unvisited nodes.
34113411
assert(I.second);
3412+
(void)I;
34123413
for (auto &CalleeEdge : Node->CalleeEdges) {
34133414
auto *Callee = CalleeEdge->Callee;
34143415
if (Visited.count(Callee)) {

0 commit comments

Comments
 (0)