From: Danny Al-Gaaf Date: Mon, 14 May 2018 21:51:42 +0000 (+0200) Subject: src/common/obj_bencher.h: initialize member in ctor X-Git-Tag: v14.0.1~984^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0522e17a8aee570159b36edaf2c411c86e34ac56;p=ceph.git src/common/obj_bencher.h: initialize member in ctor Signed-off-by: Danny Al-Gaaf --- 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,