mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Remove unused variable.
This commit is contained in:
parent
c8c198cae7
commit
73fe208b97
@ -267,7 +267,6 @@ int main( int argc, char** argv )
|
||||
AnsiPrintf( ANSI_BOLD, "\n%sFailure callstack:%s\n" );
|
||||
auto& cs = worker.GetCallstack( fd.callstack );
|
||||
int fidx = 0;
|
||||
int bidx = 0;
|
||||
for( auto& entry : cs )
|
||||
{
|
||||
auto frameData = worker.GetCallstackFrame( entry );
|
||||
@ -299,8 +298,6 @@ int main( int argc, char** argv )
|
||||
if( match ) continue;
|
||||
}
|
||||
|
||||
bidx++;
|
||||
|
||||
if( f == fsz-1 )
|
||||
{
|
||||
printf( "%3i. ", fidx++ );
|
||||
|
@ -384,7 +384,6 @@ bool View::Draw()
|
||||
|
||||
auto& cs = s_instance->m_worker.GetCallstack( data.callstack );
|
||||
int fidx = 0;
|
||||
int bidx = 0;
|
||||
for( auto& entry : cs )
|
||||
{
|
||||
auto frameData = s_instance->m_worker.GetCallstackFrame( entry );
|
||||
@ -432,8 +431,6 @@ bool View::Draw()
|
||||
if( match ) continue;
|
||||
}
|
||||
|
||||
bidx++;
|
||||
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableNextColumn();
|
||||
if( f == fsz-1 )
|
||||
|
@ -31,7 +31,6 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton )
|
||||
{
|
||||
std::ostringstream s;
|
||||
int fidx = 0;
|
||||
int bidx = 0;
|
||||
for( auto& entry : cs )
|
||||
{
|
||||
char buf[64*1024];
|
||||
@ -65,8 +64,6 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton )
|
||||
if( match ) continue;
|
||||
}
|
||||
|
||||
bidx++;
|
||||
|
||||
if( f == fsz-1 )
|
||||
{
|
||||
ptr += sprintf( ptr, "%3i. ", fidx++ );
|
||||
|
Loading…
Reference in New Issue
Block a user