mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00: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…
Reference in New Issue
Block a user