mirror of https://github.com/ecmwf/eccodes.git
Clang static analyser: Dead assignment
This commit is contained in:
parent
185b49fa84
commit
defe1b6803
|
@ -1310,8 +1310,8 @@ static int pack_double(grib_accessor* a, const double* val, size_t* len)
|
|||
|
||||
decimal = grib_power(decimal_scale_factor, 10);
|
||||
divisor = grib_power(-binary_scale_factor, 2);
|
||||
min = min * decimal;
|
||||
max = max * decimal;
|
||||
/*min = min * decimal;*/
|
||||
/*max = max * decimal;*/
|
||||
|
||||
if ((ret = grib_set_long_internal(handle, self->decimal_scale_factor, decimal_scale_factor)) !=
|
||||
GRIB_SUCCESS)
|
||||
|
|
Loading…
Reference in New Issue