libtt: More coverity fixes

This commit is contained in:
Peter Howkins
2018-04-13 19:08:50 +01:00
parent 17101b6f4c
commit fee6003be1
19 changed files with 56 additions and 8 deletions

View File

@@ -59,6 +59,8 @@ _Tt_observer(_Tt_string ptid, int opnum,
_reliability = reliability;
_opnum = opnum;
_scope = s;
_state = TT_STATE_LAST; // BUG This class member is not set anywhere, but a getter function exists
}

View File

@@ -80,6 +80,8 @@ _Tt_rpc_server(int program, int version, int Rsocket, _Tt_auth &auth)
_socket = Rsocket;
_program = program;
_auth = auth;
_rpc_fd = 0;
_transp = NULL;
}

View File

@@ -79,6 +79,7 @@ _Tt_signature()
_mangled_args = 0;
ce_entry = 0;
_timestamp = 0;
ce_entry = NULL;
}
_Tt_signature::