diff --git a/common/lib/hist.cpp b/common/lib/hist.cpp index 6e8c36a2d..4f0727a6b 100644 --- a/common/lib/hist.cpp +++ b/common/lib/hist.cpp @@ -37,11 +37,11 @@ namespace villas { Hist::Hist(int buckets, Hist::cnt_t wu) : resolution(0), - high(), - low(), + high(0), + low(0), highest(std::numeric_limits::min()), lowest(std::numeric_limits::max()), - last(), + last(0), total(0), warmup(wu), higher(0),