commit | b124784ace2ceaf0808ac3b2fb901c2d266cffac | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Thu Jul 02 16:22:38 2020 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu Jul 02 16:22:38 2020 +0200 |
tree | a00c68f1cfb29388074b44537d2638d3df2a688b | |
parent | f6d14cba3c8a20d89aaa21c74985259bd40125f7 [diff] [blame] |
libyang BUGFIX uninitialized variables reported by coverity
diff --git a/src/parser_stmt.c b/src/parser_stmt.c index f13b081..9ad5ca2 100644 --- a/src/parser_stmt.c +++ b/src/parser_stmt.c
@@ -680,7 +680,7 @@ { struct lysp_type *nest_type; const struct lysp_stmt *child; - const char *str_path; + const char *str_path = NULL; LY_ERR ret; if (type->name) {