1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-30 12:53:51 +00:00

Don't write what is never read.

This commit is contained in:
Bartosz Taudul 2023-04-25 00:00:30 +02:00
parent fa815f3c3b
commit 88cb43ad84
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -77,7 +77,6 @@ void View::DrawThread( const TimelineContext& ctx, const ThreadData& thread, con
{ {
const auto lockDepth = DrawLocks( ctx, lockDraw, thread.id, offset, m_nextLockHighlight ); const auto lockDepth = DrawLocks( ctx, lockDraw, thread.id, offset, m_nextLockHighlight );
offset += sstep * lockDepth; offset += sstep * lockDepth;
depth += lockDepth;
} }
} }