From fb6c91b552d7f9cb2d37f22cf8a400cf79e0f6d0 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 28 Oct 2017 22:11:24 +0200 Subject: [PATCH] Simplify switch. --- server/TracyView.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index dce1a259..23f1797c 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -785,8 +785,6 @@ void View::ProcessLockMark( const QueueLockMark& ev ) switch( (*it)->type ) { case LockEvent::Type::Obtain: - (*it)->srcloc = ev.srcloc; - break; case LockEvent::Type::Wait: (*it)->srcloc = ev.srcloc; return;