commit | 4502ed238effadd07b44dad62e5ec50689038abb | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 15 11:06:52 2024 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Aug 15 11:06:52 2024 +0200 |
tree | 14c656867fda777d07ef0b6f3fd770b7b5fcafcc | |
parent | 34a042c22c6c834c8b31686f5636d78dc180ef4b [diff] [blame] |
libyang MAINTENANCE unitialized var warnings False positives.
diff --git a/src/schema_compile_node.c b/src/schema_compile_node.c index 1405b8c..5d2f0ae 100644 --- a/src/schema_compile_node.c +++ b/src/schema_compile_node.c
@@ -2582,7 +2582,7 @@ } } else { /* top-level element */ - struct lysc_node **list; + struct lysc_node **list = NULL; if (ctx->ext) { lyplg_ext_get_storage_p(ctx->ext, LY_STMT_DATA_NODE_MASK, (uint64_t *)&list);