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/tree_schema_common.c b/src/tree_schema_common.c index 803009a..dcfb096 100644 --- a/src/tree_schema_common.c +++ b/src/tree_schema_common.c
@@ -768,7 +768,7 @@ { struct ly_in *in; char *filepath = NULL; - LYS_INFORMAT format; + LYS_INFORMAT format = 0; void *mod = NULL; LY_ERR ret = LY_SUCCESS; struct lysp_load_module_check_data check_data = {0};