Tools: Cleanup

This commit is contained in:
Shahram Najm 2022-12-16 17:24:53 +00:00
parent 7ecdddda06
commit 2544e2bfa7
1 changed files with 8 additions and 10 deletions

View File

@ -1296,12 +1296,10 @@ void grib_print_file_statistics(grib_runtime_options* options, grib_tools_file*
if (!failed)
return;
/*
fprintf(dump_file,"Following bad messages found in %s\n",
file->name);
fprintf(dump_file,"Following bad messages found in %s\n", file->name);
fprintf(dump_file,"N Error\n");
while (failed){
fprintf(dump_file,"%-*d %s\n",
7,failed->count,
fprintf(dump_file,"%-*d %s\n", 7,failed->count,
grib_get_error_message(failed->error));
failed=failed->next;
}