From a5d815d2338de6ad465692ff87685b8b5e45ca13 Mon Sep 17 00:00:00 2001 From: "Roald J. van Loon" Date: Fri, 30 Aug 2013 23:05:52 +0200 Subject: [PATCH] automake cleanup: uninitialized version_t This sometimes gives a completely random uint64_t value, because it is potentially used uninitialized. Signed-off-by: Roald J. van Loon --- src/mds/mdstypes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mds/mdstypes.h b/src/mds/mdstypes.h index 5537407a75d5f..4fcf584fb8ccc 100644 --- a/src/mds/mdstypes.h +++ b/src/mds/mdstypes.h @@ -474,6 +474,7 @@ struct fnode_t { void decode(bufferlist::iterator& bl); void dump(Formatter *f) const; static void generate_test_instances(list& ls); + fnode_t() : version(0) {}; }; WRITE_CLASS_ENCODER(fnode_t) -- 2.39.5