From e8b4f71f4a2e8d66f5bc3e6e24334968255ac3ce Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 3 Sep 2018 20:21:28 +0200 Subject: [PATCH] Properly initialize sortedNum in find zone. --- server/TracyView.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.hpp b/server/TracyView.hpp index c2026569..3fe2b9ea 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -293,7 +293,7 @@ private: int64_t numBins = -1; std::unique_ptr bins, binTime, selBin; std::vector sorted, selSort; - size_t sortedNum, selSortNum, selSortActive; + size_t sortedNum = 0, selSortNum, selSortActive; float average, selAverage; float median, selMedian; int64_t total, selTotal;