src MAINTENANCE release build type warnings
diff --git a/src/parser_xml.c b/src/parser_xml.c
index fd2f856..50b70db 100644
--- a/src/parser_xml.c
+++ b/src/parser_xml.c
@@ -1392,7 +1392,7 @@
 {
     LY_ERR rc = LY_SUCCESS;
     struct lyd_xml_ctx *lydctx;
-    uint32_t i, int_opts, close_elem = 0;
+    uint32_t i, int_opts = 0, close_elem = 0;
     ly_bool parsed_data_nodes = 0;
 
     assert(ctx && in && lydctx_p);