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:
Andrey Volk 2020-02-12 00:30:33 +04:00 committed by GitHub
commit 4539ebc985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;