From 8bbd50361afe458aec70dbff8d35e0e8de94ab7c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 22 Mar 2023 22:08:21 +0100 Subject: [PATCH] Remove unused variables. --- server/TracyView_ContextSwitch.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/TracyView_ContextSwitch.cpp b/server/TracyView_ContextSwitch.cpp index 9a4c5733..370bd77c 100644 --- a/server/TracyView_ContextSwitch.cpp +++ b/server/TracyView_ContextSwitch.cpp @@ -10,8 +10,6 @@ namespace tracy { -constexpr float MinCtxSize = 4; - const char* View::DecodeContextSwitchReasonCode( uint8_t reason ) { switch( reason ) @@ -139,7 +137,6 @@ const char* View::DecodeContextSwitchState( uint8_t state ) void View::DrawContextSwitchList( const TimelineContext& ctx, const std::vector& drawList, int offset, int endOffset, bool isFiber ) { const auto vStart = ctx.vStart; - const auto vEnd = ctx.vEnd; const auto& wpos = ctx.wpos; const auto pxns = ctx.pxns; const auto hover = ctx.hover;