diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-16 22:20:04 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-08-16 22:20:04 +0300 |
commit | 6c53cac15e6cd49053b503f4b287e70d2d51c6b6 (patch) | |
tree | eb66e0d5d18fb5602c1dcec8c4471b21e77c23e7 /server/TracyWorker.cpp | |
parent | d7104c752ac30723a6af9d22cff5d201f9ace619 (diff) |
Fix uninitialized variable.
Diffstat (limited to 'server/TracyWorker.cpp')
-rw-r--r-- | server/TracyWorker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 91e09eab..f26096d7 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -4129,6 +4129,7 @@ void Worker::ProcessContextSwitch( const QueueContextSwitch& ev ) auto& cx = cs.push_next(); cx.SetStart( time ); + cx.SetEnd( -1 ); cx.SetThread( ev.newThread ); // At this point that check is approximate |