Silence warnings.

This commit is contained in:
Bartosz Taudul 2024-09-14 01:10:14 +02:00
parent 0d17d5eaaa
commit 5a67246426
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

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