Simplify switch.

This commit is contained in:
Bartosz Taudul 2017-10-28 22:11:24 +02:00
parent db16aecf64
commit fb6c91b552

View File

@ -785,8 +785,6 @@ void View::ProcessLockMark( const QueueLockMark& ev )
switch( (*it)->type ) switch( (*it)->type )
{ {
case LockEvent::Type::Obtain: case LockEvent::Type::Obtain:
(*it)->srcloc = ev.srcloc;
break;
case LockEvent::Type::Wait: case LockEvent::Type::Wait:
(*it)->srcloc = ev.srcloc; (*it)->srcloc = ev.srcloc;
return; return;