Clang 9.0.1 warnings

This commit is contained in:
Shahram Najm 2020-04-30 15:57:21 +01:00
parent fe6334d069
commit 9db69507ce
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ grib_action* grib_action_create_gen(grib_context* context, const char* name, con
act->cclass = c;
act->context = context;
act->flags = flags;
#if CHECK_LOWERCASE_AND_STRING_TYPE
#ifdef CHECK_LOWERCASE_AND_STRING_TYPE
{
int flag_lowercase=0, flag_stringtype=0;
if (flags & GRIB_ACCESSOR_FLAG_LOWERCASE)

View File

@ -378,7 +378,7 @@ static int init(grib_iterator* iter, grib_handle* h, grib_arguments* args)
lonFirstInDegrees, Dx, Dy, radius = 0;
double latFirstInRadians, lonFirstInRadians, LoVInRadians, Latin1InRadians, Latin2InRadians,
LaDInRadians;
double earthMajorAxisInMetres, earthMinorAxisInMetres;
double earthMajorAxisInMetres=0, earthMinorAxisInMetres=0;
grib_iterator_lambert_conformal* self = (grib_iterator_lambert_conformal*)iter;