mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Simplify switch.
This commit is contained in:
parent
db16aecf64
commit
fb6c91b552
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user