libyang REFACTOR uninit vars
diff --git a/tools/lint/common.c b/tools/lint/common.c
index 7a65d93..fc9b1cd 100644
--- a/tools/lint/common.c
+++ b/tools/lint/common.c
@@ -788,7 +788,7 @@
 {
     const char *end, *module_name_end;
     char *module_name = NULL;
-    const struct lysc_node *node = NULL, *parent_node = NULL, *parent_node_tmp;
+    const struct lysc_node *node = NULL, *parent_node = NULL, *parent_node_tmp = NULL;
     const struct lys_module *module;
     size_t node_name_len;
     ly_bool found_exact_match = 0;