From 0522e17a8aee570159b36edaf2c411c86e34ac56 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Mon, 14 May 2018 23:51:42 +0200 Subject: [PATCH] src/common/obj_bencher.h: initialize member in ctor Signed-off-by: Danny Al-Gaaf --- src/common/obj_bencher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/obj_bencher.h b/src/common/obj_bencher.h index e1ddc832c31e..0d4a5c11c910 100644 --- a/src/common/obj_bencher.h +++ b/src/common/obj_bencher.h @@ -107,7 +107,7 @@ protected: ostream& out(ostream& os); ostream& out(ostream& os, utime_t& t); public: - explicit ObjBencher(CephContext *cct_) : show_time(false), cct(cct_), lock("ObjBencher::lock") {} + explicit ObjBencher(CephContext *cct_) : show_time(false), cct(cct_), lock("ObjBencher::lock"), data() {} virtual ~ObjBencher() {} int aio_bench( int operation, int secondsToRun, -- 2.47.3