commit | 0c2cf3292494b2f974aa3bcc33f8723d2cd998b9 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Sat Oct 13 08:02:30 2018 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Sat Oct 13 08:02:30 2018 +0200 |
tree | 7bb1a83e3972ae5319e1dbd75e15ecf7d8516226 | |
parent | a042ea169e4e9d324396e9c56cf74bbe0150dbee [diff] [blame] |
YANG parser BUGFIX uninitialized variable
diff --git a/src/parser_yang.c b/src/parser_yang.c index 5864777..f69a3bb 100644 --- a/src/parser_yang.c +++ b/src/parser_yang.c
@@ -4628,7 +4628,7 @@ char *word, *buf; size_t word_len; enum yang_keyword kw; - struct lysp_module *mod; + struct lysp_module *mod = NULL; struct ly_parser_ctx context; context.ctx = ctx;