From: Roald J. van Loon Date: Fri, 30 Aug 2013 21:05:52 +0000 (+0200) Subject: automake cleanup: uninitialized version_t X-Git-Tag: v0.68~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a5d815d2338de6ad465692ff87685b8b5e45ca13;p=ceph.git 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 --- diff --git a/src/mds/mdstypes.h b/src/mds/mdstypes.h index 5537407a75d5..4fcf584fb8cc 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)