optimizate: clean up unused code && code formatting

This commit is contained in:
luwenpeng
2024-08-14 10:50:33 +08:00
parent 927d0cd344
commit 6e1c25a445
20 changed files with 61 additions and 86 deletions

View File

@@ -413,7 +413,6 @@ 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(struct stellar_config));
fp = fopen(file, "r");
if (fp == NULL)