From 619523b43e581dc404829106adbcb18bd315ff19 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 21 May 2020 19:20:20 +0200 Subject: [PATCH] Symbol might not have ip statistics. --- server/TracyView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 76c5ce08..098b5252 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -11738,8 +11738,7 @@ void View::DrawStatistics() else { auto it = symStat.find( v.symAddr ); - assert( it != symStat.end() ); - excl = it->second.excl; + excl = it != symStat.end() ? it->second.excl : 0; } if( v.symAddr == 0 || excl == 0 ) {