Fix uninitialized variable.

This commit is contained in:
Bartosz Taudul 2019-08-16 21:20:04 +02:00
parent d7104c752a
commit 6c53cac15e

View File

@ -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