aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Support/TrieRawHashMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/TrieRawHashMap.cpp b/llvm/lib/Support/TrieRawHashMap.cpp
index 9eeac0bb..4741f3d 100644
--- a/llvm/lib/Support/TrieRawHashMap.cpp
+++ b/llvm/lib/Support/TrieRawHashMap.cpp
@@ -424,7 +424,7 @@ unsigned ThreadSafeTrieRawHashMapBase::getNumSlotUsed(
return 0;
unsigned Num = 0;
for (unsigned I = 0, E = S->size(); I < E; ++I)
- if (auto *E = S->load(I))
+ if (S->load(I))
++Num;
return Num;
}