Clang compiler warnings

This commit is contained in:
Shahram Najm 2017-08-25 17:30:20 +01:00
parent 3cf796ac71
commit 0559717352
2 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h)
}
if (options->latlon) {
int err=0;
err=0;
double min;
if (!n) n=grib_nearest_new(h,&err);
if (err == GRIB_NOT_IMPLEMENTED) {

View File

@ -239,7 +239,7 @@ int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h) {
}
if (options->latlon) {
int err=0;
err=0;
double min;
if (!n) n=grib_nearest_new(h,&err);
GRIB_CHECK_NOLINE(err,0);