Clang static analyser warnings

This commit is contained in:
Shahram Najm 2020-03-22 12:38:57 +00:00
parent cb8a9d3291
commit e40f3f5c5a
2 changed files with 2 additions and 2 deletions

View File

@ -1187,7 +1187,7 @@ flex buffer optimization break the includes.
#define YY_INPUT(buf,result,max_size) \
{ \
int c = getc(grib_yyin); \
int c = getc(grib_yyin); (void)max_size; \
result = (c == EOF) ? YY_NULL : (buf[0] = c, 1); \
}

View File

@ -28,7 +28,7 @@ flex buffer optimization break the includes.
#define YY_INPUT(buf,result,max_size) \
{ \
int c = fgetc(yyin); \
int c = fgetc(yyin); (void)max_size; \
result = (c == EOF) ? YY_NULL : (buf[0] = c, 1); \
}