[core] scan-build: Value stored to 'q' during its initialization is never read - msrp_parse_headers()

This commit is contained in:
Dragos Oancea 2020-02-13 18:56:07 +00:00
parent c714401935
commit 063c6f9884

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) {