mirror of https://github.com/ecmwf/eccodes.git
Compiler warnings (clang)
This commit is contained in:
parent
d9c542fd31
commit
b80884e7ca
|
@ -46,7 +46,7 @@ int main(int argc,char* argv[]) {
|
||||||
size=bufsize;
|
size=bufsize;
|
||||||
count=1;
|
count=1;
|
||||||
while ((ret=grib_read_any_from_file(c,f,buffer,&size))==GRIB_SUCCESS) {
|
while ((ret=grib_read_any_from_file(c,f,buffer,&size))==GRIB_SUCCESS) {
|
||||||
if (1) {
|
if ((1)) {
|
||||||
h=grib_handle_new_from_message_copy(c,buffer,size);
|
h=grib_handle_new_from_message_copy(c,buffer,size);
|
||||||
if (!h) {
|
if (!h) {
|
||||||
printf("unable to new from message\n");
|
printf("unable to new from message\n");
|
||||||
|
|
Loading…
Reference in New Issue