From: Luo Kexue Date: Sat, 26 Aug 2017 02:58:39 +0000 (+0800) Subject: common: silence jenkins's buiding warning in obj_bencher.cc X-Git-Tag: v13.0.1~1176^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F17272%2Fhead;p=ceph.git common: silence jenkins's buiding warning in obj_bencher.cc Signed-off-by: Luo Kexue --- diff --git a/src/common/obj_bencher.cc b/src/common/obj_bencher.cc index 87c37c5bfc6..18c85c3b895 100644 --- a/src/common/obj_bencher.cc +++ b/src/common/obj_bencher.cc @@ -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();