Merge pull request #296 from dragos-oancea/sofia-nua_register-val-never-read

[sofia-sip] scan-build: Value stored to 'contacts' is never read - nua_register_client_request()
This commit is contained in:
Andrey Volk 2020-02-12 00:38:34 +04:00 committed by GitHub
commit 356ed56047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -771,7 +771,6 @@ int nua_register_client_request(nua_client_request_t *cr,
sip_header_remove(msg, sip, (sip_header_t *)sip->sip_contact);
while (m->m_next)
sip_header_remove(msg, sip, (sip_header_t *)m->m_next);
contacts = m;
break;
}