diff --git a/src/eccodes.h b/src/eccodes.h index 890a1077c..67271bb16 100644 --- a/src/eccodes.h +++ b/src/eccodes.h @@ -56,9 +56,6 @@ Log mode for information for processing information #define CODES_MISSING_LONG GRIB_MISSING_LONG #define CODES_MISSING_DOUBLE GRIB_MISSING_DOUBLE -/*set spec flags*/ -#define CODES_UTIL_SET_SPEC_FLAGS_ONLY_PACKING GRIB_UTIL_SET_SPEC_FLAGS_ONLY_PACKING - /* Dump option flags*/ #define CODES_DUMP_FLAG_READ_ONLY GRIB_DUMP_FLAG_READ_ONLY #define CODES_DUMP_FLAG_DUMP_OK GRIB_DUMP_FLAG_DUMP_OK diff --git a/src/grib_api.h b/src/grib_api.h index 4f3f64541..c2d7cbb11 100644 --- a/src/grib_api.h +++ b/src/grib_api.h @@ -96,9 +96,6 @@ Log mode for information for processing information #define GRIB_MISSING_LONG 2147483647 #define GRIB_MISSING_DOUBLE -1e+100 -/*set spec flags*/ -#define GRIB_UTIL_SET_SPEC_FLAGS_ONLY_PACKING (1 << 0) - /* Dump option flags*/ #define GRIB_DUMP_FLAG_READ_ONLY (1 << 0) #define GRIB_DUMP_FLAG_DUMP_OK (1 << 1) diff --git a/src/grib_util.c b/src/grib_util.c index c951429e9..bf580a103 100644 --- a/src/grib_util.c +++ b/src/grib_util.c @@ -997,6 +997,8 @@ grib_handle* grib_util_set_spec2(grib_handle* h, goto cleanup; }*/ +/* ECC-1269 */ +#if 0 if (flags & GRIB_UTIL_SET_SPEC_FLAGS_ONLY_PACKING) { if (packing_spec->packing == GRIB_UTIL_PACKING_USE_PROVIDED && strcmp(input_packing_type, "grid_simple_matrix")) { @@ -1143,6 +1145,7 @@ grib_handle* grib_util_set_spec2(grib_handle* h, return h; } /* flags & GRIB_UTIL_SET_SPEC_FLAGS_ONLY_PACKING */ +#endif grid_type = get_grid_type_name(spec->grid_type); if (!grid_type) {