validation MAINTENANCE avoid bogus compiler warnings about uninitialized variables
diff --git a/src/validation.c b/src/validation.c
index 78eb87d..9f36129 100644
--- a/src/validation.c
+++ b/src/validation.c
@@ -317,9 +317,9 @@
     struct lyd_node *diter, *start = NULL;
     struct lys_ident *ident;
     struct lys_tpdf *tpdf;
-    struct lys_type *type;
+    struct lys_type *type = NULL;
     struct lyd_node_leaf_list *leaf;
-    int i, j;
+    int i, j = 0;
     uint8_t iff_size;
     struct lys_iffeature *iff;
     const char *id, *idname;