diff --git a/capture/src/capture.cpp b/capture/src/capture.cpp index c74e0d24..24b40dc6 100644 --- a/capture/src/capture.cpp +++ b/capture/src/capture.cpp @@ -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++ ); diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 8194080f..68a48307 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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 ) diff --git a/server/TracyView_Callstack.cpp b/server/TracyView_Callstack.cpp index 0e8bc4e1..50dd956f 100644 --- a/server/TracyView_Callstack.cpp +++ b/server/TracyView_Callstack.cpp @@ -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++ );