mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
uninit var fixes
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1889 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
ddb633bf50
commit
38f5a8f6e8
@ -40,6 +40,8 @@ public:
|
||||
::_decode(pg_stat_updates, bl, off);
|
||||
::_decode(osd_stat_updates, bl, off);
|
||||
}
|
||||
|
||||
Incremental() : version(0) {}
|
||||
};
|
||||
|
||||
void apply_incremental(Incremental& inc) {
|
||||
|
@ -245,7 +245,7 @@ struct pg_stat_t {
|
||||
int64_t num_blocks; // in 4k blocks
|
||||
int64_t num_objects;
|
||||
|
||||
pg_stat_t() : state(0), size(0), num_blocks(0), num_objects(0) {}
|
||||
pg_stat_t() : reported(0), state(0), size(0), num_blocks(0), num_objects(0) {}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user