Remove unused variable.

This commit is contained in:
Bartosz Taudul 2022-09-29 20:56:09 +02:00
parent c8c198cae7
commit 73fe208b97
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
3 changed files with 0 additions and 9 deletions

View File

@ -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++ );

View File

@ -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 )

View File

@ -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++ );