mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 14:03:52 +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…
x
Reference in New Issue
Block a user