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