Fixes the coverity issue:
** 717269 Uninitialized scalar field
CID 717269 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member is_primary is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Amit Kumar amitkuma@redhat.com
dirfrag_t subtree;
dirfrag_t dirfrag;
string dn;
- bool is_primary;
+ bool is_primary = false;
public:
dirfrag_t get_subtree() { return subtree; }