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:
commit
356ed56047
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue