mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Remove unused variables.
This commit is contained in:
parent
f74a313d12
commit
7b583628ad
@ -1907,8 +1907,6 @@ private:
|
||||
pr_newTailIndex = 1 + currentTailIndex;
|
||||
if ((currentTailIndex & static_cast<index_t>(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<explicit_context>()) {
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user