mirror of https://github.com/ecmwf/eccodes.git
ECC-1055: Compiler warnings
This commit is contained in:
parent
4d7df8a97b
commit
26cbacdbe7
|
@ -183,6 +183,7 @@ static int init(grib_iterator* iter, grib_handle* h, grib_arguments* args)
|
|||
if ((err = grib_get_double_internal(h, "earthMajorAxisInMetres", &earthMajorAxisInMetres)) != GRIB_SUCCESS) return err;
|
||||
if ((err = grib_get_double_internal(h, "earthMinorAxisInMetres", &earthMinorAxisInMetres)) != GRIB_SUCCESS) return err;
|
||||
e = calculate_eccentricity(earthMinorAxisInMetres,earthMajorAxisInMetres);
|
||||
(void)e;
|
||||
}
|
||||
|
||||
if (iter->nv != nx * ny) {
|
||||
|
|
Loading…
Reference in New Issue