Merge pull request #378 from signalwire/sofia_nta
[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:
commit
2a085d02e8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue