libtt: Coverity fixes related to uninitialised fields in classes.

This commit is contained in:
Peter Howkins
2018-04-18 01:28:03 +01:00
parent caef8edac0
commit 02d43dabe6
30 changed files with 90 additions and 14 deletions

View File

@@ -53,6 +53,9 @@ _Tt_trace_optobj::_Tt_trace_optobj()
_has_session = 2; // 1 -> -S option, 2 -> set by default
_has_command = 0;
_form = NO_FORM;
for(int i = 0; i < MAXARGS; i++) {
_cargv[i] = NULL;
}
}
int