Formatting

This commit is contained in:
Shahram Najm 2020-06-20 14:04:04 +01:00
parent 8fe5635d9d
commit c438c13c84
1 changed files with 12 additions and 11 deletions

View File

@ -296,7 +296,8 @@ int grib_nearest_find_generic(
if ((ret = grib_get_double(h, radius_keyname, &radiusInMetres)) == GRIB_SUCCESS &&
!grib_is_missing(h, radius_keyname, &ret)) {
radiusInKm = radiusInMetres / 1000.0;
} else {
}
else {
double minor = 0, major = 0;
if ((ret = grib_get_double_internal(h, "earthMinorAxisInMetres", &minor)) != GRIB_SUCCESS) return ret;
if ((ret = grib_get_double_internal(h, "earthMajorAxisInMetres", &major)) != GRIB_SUCCESS) return ret;