mirror of https://github.com/ecmwf/eccodes.git
grib_util_set_spec: dead code removal
This commit is contained in:
parent
70505e4458
commit
9820d32fa8
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue