Skip to content

Commit

Permalink
Silence warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Sep 13, 2024
1 parent 0d17d5e commit 5a67246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiler/src/profiler/TracySourceView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,7 @@ static uint32_t GetGoodnessColor( float inRatio )
void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker, const View& view, bool hasInlines )
{
const auto scale = GetScale();
if( hasInlines && !m_calcInlineStats && ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
if( hasInlines && !m_calcInlineStats && ( ( as.ipTotalAsm.local + as.ipTotalAsm.ext ) > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) ) )
{
const auto samplesReady = worker.AreSymbolSamplesReady();
if( !samplesReady )
Expand Down

0 comments on commit 5a67246

Please sign in to comment.