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

@@ -246,8 +246,11 @@ Condition::Condition(void)
#if defined(POSIX_THREADS)
_condition = malloc(sizeof(cond_t));
cond_init((cond_t *)_condition, USYNC_THREAD, NULL);
#else
_condition = NULL;
#endif
_state = 0;
}
Condition::~Condition(void)