diff --git a/examples/wsperf/case.hpp b/examples/wsperf/case.hpp index f6a2240760..04590644da 100644 --- a/examples/wsperf/case.hpp +++ b/examples/wsperf/case.hpp @@ -57,6 +57,7 @@ public: ); m_start = boost::chrono::steady_clock::now(); + m_bytes = 0; } void mark() { @@ -64,7 +65,7 @@ public: } void end(connection_ptr con) { - uint64_t avg; + uint64_t avg = 0; std::vector avgs(10); double squaresum = 0; uint64_t stddev = 0;