[sofia-sip] scan-build: Assigned value is garbage or undefined - outgoing_naptr_tport()

This commit is contained in:
Dragos Oancea 2020-01-31 15:27:54 +00:00
parent d9bec17d16
commit e84738d92c
1 changed files with 1 additions and 1 deletions

View File

@ -10546,7 +10546,7 @@ struct sipdns_tport const *
outgoing_naptr_tport(nta_outgoing_t *orq, sres_record_t *answers[])
{
int i, j, order, pref;
int orders[SIPDNS_TRANSPORTS], prefs[SIPDNS_TRANSPORTS];
int orders[SIPDNS_TRANSPORTS] = {0}, prefs[SIPDNS_TRANSPORTS];
struct sipdns_tport const *tport;
struct sipdns_resolver *sr = orq->orq_resolver;