libtt: Resolve uninitialized warningss

This commit is contained in:
Peter Howkins
2021-12-19 04:04:39 +00:00
committed by Jon Trulson
parent 31774af2f2
commit 35e94e3878
6 changed files with 23 additions and 12 deletions

View File

@@ -1553,7 +1553,7 @@ _tt_db_results *_tt_queue_message_1 (_tt_queue_msg_args *args,
_tt_get_rpc_strings(args->ptypes, message_info->ptypes);
// Get the XDR size of the new message info structure
u_int length;
u_int length = 0;
_Tt_xdr_size_stream xdrsz;
if (!message_info->xdr((XDR *)xdrsz)) {
results = TT_DB_ERR_ILLEGAL_MESSAGE;