Tools: Redundant check

This commit is contained in:
Shahram Najm 2023-01-21 14:21:36 +00:00
parent eb56b7beff
commit 270660a7ed
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h)
if (!first_handle && options->handle_count > 1) { if (!first_handle && options->handle_count > 1) {
fprintf(stdout, ",\n"); fprintf(stdout, ",\n");
} }
if (json && first_handle) { if (first_handle) {
fprintf(stdout, "{ \"messages\" : [ \n"); fprintf(stdout, "{ \"messages\" : [ \n");
first_handle = 0; first_handle = 0;
} }