[era] Provide a default ctr for era_detail to quieten coverity

This commit is contained in:
Joe Thornber 2014-06-26 15:35:48 +01:00
parent 37f4c38ec3
commit 5e3f4cf532

View File

@ -13,6 +13,11 @@ namespace era {
} __attribute__ ((packed)); } __attribute__ ((packed));
struct era_detail { struct era_detail {
era_detail()
: nr_bits(0),
writeset_root(0) {
}
uint32_t nr_bits; uint32_t nr_bits;
uint64_t writeset_root; uint64_t writeset_root;
}; };