fix: Value stored to 'datalen' is never read - webdump - HTML to plain-text converter for webpages
HTML git clone git://git.codemadness.org/webdump
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit c455f534c9eaf07f1c1304e74edc245fba57af46
DIR parent a26127c95ac65dc8cc5e1a99884923aa2ed81a04
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 11 Mar 2026 00:16:11 +0100
fix: Value stored to 'datalen' is never read
Found by clang-analyzer and cppcheck
Diffstat:
M xml.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
DIR diff --git a/xml.c b/xml.c
@@ -503,7 +503,6 @@ read_data:
x->xmldata(x, x->data, datalen);
if (x->xmldataend)
x->xmldataend(x);
- datalen = 0;
}
#endif
}