Merge pull request #351 from dragos-oancea/switch_xml-lcont-val-never-read

[core] scan-build: Value stored to 'lcount' is never read - switch_xml_toxml_r()
This commit is contained in:
Andrey Volk 2020-02-14 20:58:41 +04:00 committed by GitHub
commit 95fe3cbdc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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