diff --git a/HTMLparser.c b/HTMLparser.c
index c26389f6..23fafb2e 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -4366,7 +4366,7 @@ static void
htmlParseElementInternal(htmlParserCtxtPtr ctxt) {
const xmlChar *name;
const htmlElemDesc * info;
- htmlParserNodeInfo node_info;
+ htmlParserNodeInfo node_info = { 0, };
int failed;
if ((ctxt == NULL) || (ctxt->input == NULL)) {