mirror of https://github.com/ecmwf/eccodes.git
Clang static analyser warnings
This commit is contained in:
parent
cb8a9d3291
commit
e40f3f5c5a
|
@ -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); \
|
||||
}
|
||||
|
||||
|
|
|
@ -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); \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue