test/perf_local: fix -Wmaybe-uninitialized warnings

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2016-08-31 18:46:53 +08:00
parent 1f0c6e29c7
commit 19ea38d5ca

View File

@ -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);