From: Kefu Chai Date: Wed, 31 Aug 2016 10:46:53 +0000 (+0800) Subject: test/perf_local: fix -Wmaybe-uninitialized warnings X-Git-Tag: v11.0.1~338^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F10934%2Fhead;p=ceph.git test/perf_local: fix -Wmaybe-uninitialized warnings Signed-off-by: Kefu Chai --- diff --git a/src/test/perf_local.cc b/src/test/perf_local.cc index 7320dcd6d53..a8646f37de8 100644 --- a/src/test/perf_local.cc +++ b/src/test/perf_local.cc @@ -184,7 +184,7 @@ double buffer_basic() } struct DummyBlock { - int a, b, c, d; + int a = 1, b = 2, c = 3, d = 4; void encode(bufferlist &bl) const { ENCODE_START(1, 1, bl); ::encode(a, bl);