mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Remove unused variables.
This commit is contained in:
@@ -3907,7 +3907,6 @@ int View::SkipGhostLevel( const Vector<GhostZone>& vec, bool hover, double pxns,
|
||||
if( zsz < MinVisSize )
|
||||
{
|
||||
auto px1 = ( ev.end.Val() - m_vd.zvStart ) * pxns;
|
||||
auto rend = end;
|
||||
auto nextTime = end + MinVisSize * nspx;
|
||||
for(;;)
|
||||
{
|
||||
@@ -3919,7 +3918,6 @@ int View::SkipGhostLevel( const Vector<GhostZone>& vec, bool hover, double pxns,
|
||||
const auto pxnext = ( nend - m_vd.zvStart ) * pxns;
|
||||
if( pxnext - px1 >= MinVisSize * 2 ) break;
|
||||
px1 = pxnext;
|
||||
rend = nend;
|
||||
nextTime = nend + nspx;
|
||||
}
|
||||
}
|
||||
@@ -13081,8 +13079,6 @@ void View::DrawInfo()
|
||||
auto lt = localtime( &date );
|
||||
strftime( dtmp, 64, "%F %T", lt );
|
||||
|
||||
const auto& io = ImGui::GetIO();
|
||||
|
||||
ImGui::SetNextWindowSize( ImVec2( 400, 650 ), ImGuiCond_FirstUseEver );
|
||||
ImGui::Begin( "Trace information", &m_showInfo, ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse );
|
||||
if( m_bigFont ) ImGui::PushFont( m_bigFont );
|
||||
|
||||
Reference in New Issue
Block a user