Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-08-16 22:20:04 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-08-16 22:20:04 +0300
commit6c53cac15e6cd49053b503f4b287e70d2d51c6b6 (patch)
treeeb66e0d5d18fb5602c1dcec8c4471b21e77c23e7 /server/TracyWorker.cpp
parentd7104c752ac30723a6af9d22cff5d201f9ace619 (diff)
Fix uninitialized variable.
Diffstat (limited to 'server/TracyWorker.cpp')
-rw-r--r--server/TracyWorker.cpp1
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