grib_util_set_spec: dead code removal

This commit is contained in:
Shahram Najm 2023-08-16 17:48:51 +01:00
parent 70505e4458
commit 9820d32fa8
1 changed files with 0 additions and 5 deletions

View File

@ -951,13 +951,8 @@ grib_handle* grib_util_set_spec(grib_handle* h,
int global_grid = 0; /* boolean */
int expandBoundingBox = 0;
static grib_util_packing_spec default_packing_spec = {0,};
Assert(h);
if (!packing_spec) {
packing_spec = &default_packing_spec;
}
/* Get edition number from input handle */
if ((*err = grib_get_long(h, "edition", &editionNumber)) != 0) {
if (c->write_on_fail) grib_write_message(h, "error.grib", "w");