forked from Mirrors/freeswitch
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:
commit
e4ea0dc230
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user