From f99c6eec785eee349d63cc9ea1048bb7f5d14add Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 4 Mar 2018 16:23:28 +0100 Subject: [PATCH] Simplify code. --- server/TracyWorker.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 10ed76fc..7bae7413 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -543,11 +543,7 @@ void Worker::DispatchProcess( const QueueItem& ev, char*& ptr ) void Worker::CheckSourceLocation( uint64_t ptr ) { - if( m_data.sourceLocation.find( ptr ) != m_data.sourceLocation.end() ) - { - return; - } - else + if( m_data.sourceLocation.find( ptr ) == m_data.sourceLocation.end() ) { NewSourceLocation( ptr ); }