mirror of https://github.com/ecmwf/eccodes.git
ECC-1339: Remove unused variables
This commit is contained in:
parent
f9b0d8e521
commit
d2b739c0fc
|
@ -193,12 +193,6 @@ static int pack_double(grib_accessor* a, const double* val, size_t* len)
|
|||
long half_byte = 0;
|
||||
long bits_per_value = 0;
|
||||
size_t buflen = 0;
|
||||
grib_context* c = a->context;
|
||||
grib_handle* h = grib_handle_of_accessor(a);
|
||||
char* ieee_packing_s = NULL;
|
||||
char* packingType_s = NULL;
|
||||
char* precision_s = NULL;
|
||||
|
||||
grib_accessor_class* super = *(a->cclass->super);
|
||||
|
||||
if (*len == 0)
|
||||
|
@ -207,6 +201,10 @@ static int pack_double(grib_accessor* a, const double* val, size_t* len)
|
|||
#if 0
|
||||
/* TODO: spectral_ieee does not work */
|
||||
if (c->ieee_packing && self->ieee_packing) {
|
||||
grib_handle* h = grib_handle_of_accessor(a);
|
||||
grib_context* c = a->context;
|
||||
char* packingType_s = NULL;
|
||||
char* ieee_packing_s = NULL;
|
||||
long precision = c->ieee_packing == 32 ? 1 : 2;
|
||||
size_t lenstr = strlen(self->ieee_packing);
|
||||
|
||||
|
|
Loading…
Reference in New Issue