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:
Andrey Volk 2020-02-17 17:09:06 +04:00 committed by GitHub
commit 2a085d02e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;