mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Fix uninitialized variable.
This commit is contained in:
parent
d7104c752a
commit
6c53cac15e
@ -4129,6 +4129,7 @@ void Worker::ProcessContextSwitch( const QueueContextSwitch& ev )
|
|||||||
|
|
||||||
auto& cx = cs.push_next();
|
auto& cx = cs.push_next();
|
||||||
cx.SetStart( time );
|
cx.SetStart( time );
|
||||||
|
cx.SetEnd( -1 );
|
||||||
cx.SetThread( ev.newThread );
|
cx.SetThread( ev.newThread );
|
||||||
|
|
||||||
// At this point that check is approximate
|
// At this point that check is approximate
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user