summaryrefslogtreecommitdiffstats
path: root/tools/lint/completion.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-17 02:59:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-17 02:59:54 +0000
commit5bc4f4fb5b383ca32b382b6c0d09602346064414 (patch)
treec741e5844c2815679107d648a15841653b9b01a5 /tools/lint/completion.c
parentAdding upstream version 3.1.0+dfsg. (diff)
downloadlibyang3-upstream.tar.xz
libyang3-upstream.zip
Adding upstream version 3.4.2+dfsg.upstream/3.4.2+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/lint/completion.c')
-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;