Skip to content

Commit e8d25c5

Browse files
committed
stdlib/ADT/DenseMap: fix an unused-variable warning
1 parent 520a893 commit e8d25c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/include/llvm/ADT/DenseMap.h

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ class DenseMapBase {
128128
P->getFirst() = EmptyKey;
129129
}
130130
}
131+
(void)NumEntries;
131132
assert(NumEntries == 0 && "Node count imbalance!");
132133
}
133134
setNumEntries(0);

0 commit comments

Comments
 (0)