From 063c6f98849a30e0b266d768bc88a845a7ba1d85 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Thu, 13 Feb 2020 18:56:07 +0000 Subject: [PATCH] [core] scan-build: Value stored to 'q' during its initialization is never read - msrp_parse_headers() --- src/switch_msrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_msrp.c b/src/switch_msrp.c index da5e288dc0..5eba9e34ec 100644 --- a/src/switch_msrp.c +++ b/src/switch_msrp.c @@ -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) {