🔧 build(compile Werror): reduce warning

This commit is contained in:
yangwei
2024-08-07 11:34:52 +08:00
committed by luwenpeng
parent 0c6b441157
commit 526171618f
28 changed files with 41 additions and 24 deletions

View File

@@ -413,7 +413,7 @@ int stellar_config_load(struct stellar_config *config, const char *file)
char errbuf[200];
FILE *fp = NULL;
toml_table_t *table = NULL;
memset(config, 0, sizeof(*config));
//memset(config, 0, sizeof(struct stellar_config));
fp = fopen(file, "r");
if (fp == NULL)