mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Remove unused variables.
This commit is contained in:
parent
f74a313d12
commit
7b583628ad
@ -1907,8 +1907,6 @@ private:
|
|||||||
pr_newTailIndex = 1 + currentTailIndex;
|
pr_newTailIndex = 1 + currentTailIndex;
|
||||||
if ((currentTailIndex & static_cast<index_t>(BLOCK_SIZE - 1)) == 0) {
|
if ((currentTailIndex & static_cast<index_t>(BLOCK_SIZE - 1)) == 0) {
|
||||||
// We reached the end of a block, start a new one
|
// 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>()) {
|
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!
|
// We can re-use the block ahead of us, it's empty!
|
||||||
this->tailBlock = this->tailBlock->next;
|
this->tailBlock = this->tailBlock->next;
|
||||||
@ -1964,9 +1962,6 @@ private:
|
|||||||
++pr_blockIndexSlotsUsed;
|
++pr_blockIndexSlotsUsed;
|
||||||
}
|
}
|
||||||
|
|
||||||
(void)startBlock;
|
|
||||||
(void)originalBlockIndexSlotsUsed;
|
|
||||||
|
|
||||||
// Add block to block index
|
// Add block to block index
|
||||||
auto& entry = blockIndex.load(std::memory_order_relaxed)->entries[pr_blockIndexFront];
|
auto& entry = blockIndex.load(std::memory_order_relaxed)->entries[pr_blockIndexFront];
|
||||||
entry.base = currentTailIndex;
|
entry.base = currentTailIndex;
|
||||||
|
Loading…
Reference in New Issue
Block a user