]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: silence jenkins's buiding warning in obj_bencher.cc 17272/head
authorLuo Kexue <luo.kexue@zte.com.cn>
Sat, 26 Aug 2017 02:58:39 +0000 (10:58 +0800)
committerLuo Kexue <luo.kexue@zte.com.cn>
Sat, 26 Aug 2017 02:58:39 +0000 (10:58 +0800)
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
src/common/obj_bencher.cc

index 87c37c5bfc68ea05c29e1f1b63b9884deae7b9e2..18c85c3b895e8d366d1505e6e661cb122fffeb3b 100644 (file)
@@ -82,7 +82,7 @@ void *ObjBencher::status_printer(void *_bencher) {
   int previous_writes = 0;
   int cycleSinceChange = 0;
   double bandwidth;
-  int iops;
+  int iops = 0;
   utime_t ONE_SECOND;
   ONE_SECOND.set_from_double(1.0);
   bencher->lock.Lock();