commit | d84b8130ae303d470ab694beac12ba42a3d8b6c3 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 15 10:45:44 2022 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 15 10:45:44 2022 +0100 |
tree | cdab538747a1a1c47480b51943b2e18aac7a504a | |
parent | 8d4efca4f22cbd4f9c6f9043f41d2525cdc9cb97 [diff] [blame] |
libyang REFACTOR uninit var false positives
diff --git a/src/schema_compile_amend.c b/src/schema_compile_amend.c index 8593de8..199dc96 100644 --- a/src/schema_compile_amend.c +++ b/src/schema_compile_amend.c
@@ -272,7 +272,7 @@ static LY_ERR lysp_ext_children_dup(const struct ly_ctx *ctx, struct lysp_stmt **child, const struct lysp_stmt *orig_child) { - struct lysp_stmt *ch; + struct lysp_stmt *ch = NULL; assert(!*child);