From 1cf9f985edeca093205036eaf6630b30330cdd97 Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Thu, 5 Sep 2024 13:27:52 +0200 Subject: [PATCH] yanglint REFACTOR uninitialized value False positive. --- tools/lint/completion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lint/completion.c b/tools/lint/completion.c index 59207ca0e..3c7503ed0 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;