Merge pull request #354 from dragos-oancea/switch_msrp-val-never-read

[core] scan-build: Value stored to 'q' during its initialization is never read - msrp_parse_headers()
This commit is contained in:
Andrey Volk 2020-02-14 01:37:34 +04:00 committed by GitHub
commit e4ea0dc230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -695,7 +695,7 @@ static char *msrp_parse_header(char *start, int skip, const char *end, switch_ms
static switch_msrp_msg_t *msrp_parse_headers(char *start, int len, switch_msrp_msg_t *msrp_msg, switch_memory_pool_t *pool)
{
char *p = start;
char *q = p;
char *q;
const char *end = start + len;
while(p < end) {