dtmail: resolve coverity warnings related to uninitialised members in C++ classes

This commit is contained in:
Peter Howkins
2018-04-20 02:36:24 +01:00
parent 3464e80165
commit f905d25392
31 changed files with 199 additions and 2 deletions

View File

@@ -53,6 +53,7 @@ RFCFormat::RFCFormat(DtMail::Session * session)
{
_session = session;
_is_write_bcc = DTM_FALSE;
_use_cr = DTM_FALSE;
}
RFCFormat::~RFCFormat(void)

View File

@@ -71,6 +71,7 @@ RFCValue::RFCValue(const char * str, int size) : DtMailValue(NULL)
_value[size] = 0;
_decoded = NULL;
_session = NULL;
}
RFCValue::RFCValue(const char * str, int size, DtMail::Session *s) : DtMailValue(NULL)

View File

@@ -129,6 +129,9 @@ RFCTransport::RFCTransport(DtMailEnv & error,
// Set up the handlers so that we are notified when a child
// process exits and do the right thing.
signalRegister();
_error_proc = NULL;
_smd = NULL;
}
RFCTransport::~RFCTransport(void)