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);
diff --git a/src/plugins_types/identityref.c b/src/plugins_types/identityref.c
index 91ddbde..5837aaa 100644
--- a/src/plugins_types/identityref.c
+++ b/src/plugins_types/identityref.c
@@ -191,7 +191,7 @@
LY_ERR ret = LY_SUCCESS;
struct lysc_type_identityref *type_ident = (struct lysc_type_identityref *)type;
char *canon;
- struct lysc_ident *ident;
+ struct lysc_ident *ident = NULL;
/* init storage */
memset(storage, 0, sizeof *storage);
diff --git a/src/plugins_types/instanceid.c b/src/plugins_types/instanceid.c
index 8013e3c..7dddd32 100644
--- a/src/plugins_types/instanceid.c
+++ b/src/plugins_types/instanceid.c
@@ -54,7 +54,7 @@
LY_ARRAY_COUNT_TYPE u, v;
char *result = NULL, quot;
const struct lys_module *mod = NULL;
- ly_bool inherit_prefix, d;
+ ly_bool inherit_prefix = 0, d;
const char *strval;
switch (format) {