projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable -Wunused-variables
[folly.git]
/
folly
/
concurrency
/
detail
/
ConcurrentHashMap-detail.h
diff --git
a/folly/concurrency/detail/ConcurrentHashMap-detail.h
b/folly/concurrency/detail/ConcurrentHashMap-detail.h
index 7b9da9c0204e347f595c2b4ccdd4e496fb162375..ebbb44fc400181ceb3ee937ead97b71d2f303b7a 100644
(file)
--- a/
folly/concurrency/detail/ConcurrentHashMap-detail.h
+++ b/
folly/concurrency/detail/ConcurrentHashMap-detail.h
@@
-513,7
+513,6
@@
class FOLLY_ALIGNED(64) ConcurrentHashMapSegment {
auto head = &buckets->buckets_[idx];
node = head->load(std::memory_order_relaxed);
Node* prev = nullptr;
- auto headnode = node;
while (node) {
if (KeyEqual()(key, node->getItem().first)) {
auto next = node->next_.load(std::memory_order_relaxed);