Merge pull request #325 from dragos-oancea/sofia-nta-undefined

[sofia-sip] scan-build: Assigned value is garbage or undefined - outgoing_naptr_tport()
This commit is contained in:
Andrey Volk 2020-02-12 21:56:44 +04:00 committed by GitHub
commit 733ce7a207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -10551,6 +10551,7 @@ outgoing_naptr_tport(nta_outgoing_t *orq, sres_record_t *answers[])
struct sipdns_resolver *sr = orq->orq_resolver;
prefs[0] = 0;
for (j = 0; sr->sr_tports[j]; j++) {
tport = sr->sr_tports[j];