[libxml2] Fix compiler warning in htmlParseElementInternal



commit 9a366a3748389fb62a49c3e9d24458274fb426f3
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Sun Jun 11 12:40:01 2017 +0200

    Fix compiler warning in htmlParseElementInternal

 HTMLparser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/HTMLparser.c b/HTMLparser.c
index 3198afa..367e304 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -4448,7 +4448,7 @@ static void
 htmlParseElementInternal(htmlParserCtxtPtr ctxt) {
     const xmlChar *name;
     const htmlElemDesc * info;
-    htmlParserNodeInfo node_info = { 0, };
+    htmlParserNodeInfo node_info = { NULL, 0, 0, 0, 0 };
     int failed;
 
     if ((ctxt == NULL) || (ctxt->input == NULL)) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]