commit | 19c17ee7c20513828accee5b02706fcc317fc878 | [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 11:36:42 2022 +0100 |
tree | cdab538747a1a1c47480b51943b2e18aac7a504a | |
parent | e6d8fb56519cdd3fa0bfd7495d233c02d96e27ef [diff] [blame] |
libyang REFACTOR uninit var false positives
diff --git a/src/tree_schema_free.c b/src/tree_schema_free.c index c6c9344..561226c 100644 --- a/src/tree_schema_free.c +++ b/src/tree_schema_free.c
@@ -616,7 +616,7 @@ { LY_ARRAY_COUNT_TYPE u, v, w; const struct lysp_submodule *submod; - const struct lysp_module *base_pmod; + const struct lysp_module *base_pmod = NULL; const struct lysp_ident *identp = NULL; const struct lys_module *mod; const char *base_name;