From fde2f685e73bc01a7c136165fe5b2a15747f2089 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Thu, 13 Feb 2020 12:12:01 +0000 Subject: [PATCH] [core] scan-build: Value stored to 'lcount' is never read - switch_xml_toxml_r() --- src/switch_xml.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/switch_xml.c b/src/switch_xml.c index f794d6f744..f5bccd5d86 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -2591,7 +2591,6 @@ static char *switch_xml_toxml_r(switch_xml_t xml, char **s, switch_size_t *len, tailrecurse: off = 0; - lcount = 0; txt = ""; if (loops++) {