dtinfo: Resolve coverity warnings related to uninitialised members of classes

This commit is contained in:
Peter Howkins
2018-04-19 23:25:47 +01:00
parent 02d43dabe6
commit 6e7e9d91e1
48 changed files with 167 additions and 32 deletions

View File

@@ -63,7 +63,7 @@ void c_index::init_persistent_info(persistent_info* x)
set_mode(SWAP_ALLOWED, false);
}
c_index::c_index(c_code_t c_cd) : composite(c_cd)
c_index::c_index(c_code_t c_cd) : composite(c_cd), v_inv_lists_hd(NULL)
{
v_cmp_selector = 0;
}

View File

@@ -62,6 +62,7 @@ mphf_index::mphf_index() : c_index(MPHF_INDEX_CODE), f_key_file_name(0)
v_mphf = 0;
v_inv_lists_hd = 0;
v_key_loc_pair_out = NULL;
}
void mphf_index::init_data_member(fast_mphf_handler* mp,