From 88cb43ad8492048be809921bafd6c3379869ee3e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 25 Apr 2023 00:00:30 +0200 Subject: [PATCH] Don't write what is never read. --- server/TracyView_ZoneTimeline.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/server/TracyView_ZoneTimeline.cpp b/server/TracyView_ZoneTimeline.cpp index 6eab917c..097fc8e2 100644 --- a/server/TracyView_ZoneTimeline.cpp +++ b/server/TracyView_ZoneTimeline.cpp @@ -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 ); offset += sstep * lockDepth; - depth += lockDepth; } }