dtinfo: Resolve coverity warnings related to uninitialised members of classes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user