mirror of https://github.com/ecmwf/eccodes.git
Tools: Redundant check
This commit is contained in:
parent
eb56b7beff
commit
270660a7ed
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue