[sofia-sip] scan-build: Fix "The left operand of '<' is a garbage value" (prefs) in outgoing_naptr_tport() of nta.c

This commit is contained in:
Andrey Volk 2020-02-17 14:36:48 +04:00
parent 9cf6521873
commit a2f544cf7f
1 changed files with 1 additions and 1 deletions

View File

@ -10551,7 +10551,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] = {0}, prefs[SIPDNS_TRANSPORTS];
int orders[SIPDNS_TRANSPORTS] = {0}, prefs[SIPDNS_TRANSPORTS] = {0};
struct sipdns_tport const *tport;
struct sipdns_resolver *sr = orq->orq_resolver;