diff --git a/client/concurrentqueue.h b/client/concurrentqueue.h index 007326ac..cb1f5208 100755 --- a/client/concurrentqueue.h +++ b/client/concurrentqueue.h @@ -1907,8 +1907,6 @@ private: pr_newTailIndex = 1 + currentTailIndex; if ((currentTailIndex & static_cast(BLOCK_SIZE - 1)) == 0) { // We reached the end of a block, start a new one - auto startBlock = this->tailBlock; - auto originalBlockIndexSlotsUsed = pr_blockIndexSlotsUsed; if (this->tailBlock != nullptr && this->tailBlock->next->ConcurrentQueue::Block::template is_empty()) { // We can re-use the block ahead of us, it's empty! this->tailBlock = this->tailBlock->next; @@ -1964,9 +1962,6 @@ private: ++pr_blockIndexSlotsUsed; } - (void)startBlock; - (void)originalBlockIndexSlotsUsed; - // Add block to block index auto& entry = blockIndex.load(std::memory_order_relaxed)->entries[pr_blockIndexFront]; entry.base = currentTailIndex;