From 5a6724642671f4954c4a503ed3810bf277eb3297 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 14 Sep 2024 01:10:14 +0200 Subject: [PATCH] Silence warnings. --- profiler/src/profiler/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracySourceView.cpp b/profiler/src/profiler/TracySourceView.cpp index 5f3bc318..10d75b50 100644 --- a/profiler/src/profiler/TracySourceView.cpp +++ b/profiler/src/profiler/TracySourceView.cpp @@ -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 )