commit | beeb1bfb770413587650725288630dcd70baddf4 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 17 10:29:29 2018 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 17 10:29:29 2018 +0200 |
tree | cb02393cbf36fce16ed73ba7e57f620363708bf6 | |
parent | 3390170a966166d5cbd47f0764985130388140e2 [diff] [blame] |
lyb parser BUGFIX uninitialized variable
diff --git a/src/parser_lyb.c b/src/parser_lyb.c index 4987913..de8e6ae 100644 --- a/src/parser_lyb.c +++ b/src/parser_lyb.c
@@ -1100,7 +1100,7 @@ lyd_parse_lyb(struct ly_ctx *ctx, const char *data, int options, const struct lyd_node *data_tree, const char *yang_data_name, int *parsed) { - int r, ret = 0; + int r = 0, ret = 0; struct lyd_node *node = NULL, *next, *act_notif = NULL; struct unres_data *unres = NULL; struct lyb_state lybs;