]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/common/obj_bencher.h: initialize member in ctor 22007/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 14 May 2018 21:51:42 +0000 (23:51 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 12 Jun 2018 21:14:15 +0000 (23:14 +0200)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/common/obj_bencher.h

index e1ddc832c31e40ffc3064abd668fa2c56ebb6700..0d4a5c11c910a44bbe5c7a039752bd0cfb456248 100644 (file)
@@ -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,