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

@@ -68,7 +68,7 @@ extern void schemarestart(FILE*);
extern FILE *schemain;
object_dict::object_dict() :
v_dict(desc_name_eq, desc_name_ls), v_desc_ptr(0)
v_dict(desc_name_eq, desc_name_ls), v_desc_ptr(0), v_last_desc_ptr(NULL)
{
v_db_path[0] = 0;
}

View File

@@ -76,6 +76,8 @@ store_desc::store_desc(const char* name) : desc(name)
if ( order_str == 0 )
throw(stringException("machine type not supported"));
v_store_ptr = NULL;
}
store_desc::store_desc(int tp, const char* comment):
@@ -95,6 +97,8 @@ store_desc::store_desc(int tp, const char* comment):
if ( order_str == 0 )
throw(stringException("machine type not supported"));
v_store_ptr = NULL;
}
store_desc::~store_desc()