Remove unused variables.

This commit is contained in:
Bartosz Taudul 2023-03-22 22:08:21 +01:00
parent da6ea47541
commit 8bbd50361a
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -10,8 +10,6 @@
namespace tracy namespace tracy
{ {
constexpr float MinCtxSize = 4;
const char* View::DecodeContextSwitchReasonCode( uint8_t reason ) const char* View::DecodeContextSwitchReasonCode( uint8_t reason )
{ {
switch( reason ) switch( reason )
@ -139,7 +137,6 @@ const char* View::DecodeContextSwitchState( uint8_t state )
void View::DrawContextSwitchList( const TimelineContext& ctx, const std::vector<ContextSwitchDraw>& drawList, int offset, int endOffset, bool isFiber ) void View::DrawContextSwitchList( const TimelineContext& ctx, const std::vector<ContextSwitchDraw>& drawList, int offset, int endOffset, bool isFiber )
{ {
const auto vStart = ctx.vStart; const auto vStart = ctx.vStart;
const auto vEnd = ctx.vEnd;
const auto& wpos = ctx.wpos; const auto& wpos = ctx.wpos;
const auto pxns = ctx.pxns; const auto pxns = ctx.pxns;
const auto hover = ctx.hover; const auto hover = ctx.hover;