summaryrefslogtreecommitdiffstats
path: root/tools/lint
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint')
-rw-r--r--tools/lint/completion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lint/completion.c b/tools/lint/completion.c
index 59207ca..3c7503e 100644
--- a/tools/lint/completion.c
+++ b/tools/lint/completion.c
@@ -224,7 +224,7 @@ get_schema_completion(const char *hint, char ***matches, unsigned int *match_cou
uint32_t idx;
const char *start;
char *end, *module_name = NULL, *path = NULL;
- const struct lysc_node *parent, *last_node;
+ const struct lysc_node *parent, *last_node = NULL;
int rc = 0;
size_t len;