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

@@ -57,6 +57,7 @@
mark_base::mark_base(user_base::rw_flag_t rw) :
user_base(MARK_SPEC, rw)
{
mark_set_hd = NULL;
}
@@ -67,8 +68,10 @@ mark_base::mark_base( const char* base_dir,
) :
user_base(base_dir, base_nm, base_ds, MARK_SPEC, rw)
{
if ( checking_status != SUCC )
if ( checking_status != SUCC ) {
mark_set_hd = NULL;
return;
}
desc* ptr = first_desc_ptr;