Visual Studio 2012 support

This commit is contained in:
Shahram Najm 2017-10-24 17:45:12 +01:00
parent aef6a2b8ea
commit 18f9937566
1 changed files with 1 additions and 1 deletions

View File

@ -177,9 +177,9 @@ int grib_tool_new_handle_action(grib_runtime_options* options,grib_handle* h)
} }
if (options->latlon) { if (options->latlon) {
int i;
double min; double min;
err=0; err=0;
int i;
if (!n) n=grib_nearest_new(h,&err); if (!n) n=grib_nearest_new(h,&err);
GRIB_CHECK_NOLINE(err,0); GRIB_CHECK_NOLINE(err,0);
GRIB_CHECK_NOLINE(grib_nearest_find(n,h,lat,lon,0, GRIB_CHECK_NOLINE(grib_nearest_find(n,h,lat,lon,0,