From 0e1e7a0999bb4d3f68c3c7fb52c305eaf8998a8f Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Tue, 29 Oct 2024 11:54:49 -0700 Subject: [PATCH] [ADT] Fix unused variable from #69528 Remove unused variable to fix build failures from bot. --- llvm/lib/Support/TrieRawHashMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Support/TrieRawHashMap.cpp b/llvm/lib/Support/TrieRawHashMap.cpp index 9eeac0bbc5c2c..4741f3d4db049 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; }