Merge pull request #289 from dragos-oancea/sofia-nta-val-undefined
[sofia-sip] scan-build: Assigned value is garbage or undefined - outoing_naptr_tport()
This commit is contained in:
commit
4539ebc985
|
@ -10546,7 +10546,7 @@ struct sipdns_tport const *
|
||||||
outgoing_naptr_tport(nta_outgoing_t *orq, sres_record_t *answers[])
|
outgoing_naptr_tport(nta_outgoing_t *orq, sres_record_t *answers[])
|
||||||
{
|
{
|
||||||
int i, j, order, pref;
|
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_tport const *tport;
|
||||||
|
|
||||||
struct sipdns_resolver *sr = orq->orq_resolver;
|
struct sipdns_resolver *sr = orq->orq_resolver;
|
||||||
|
|
Loading…
Reference in New Issue