mirror of https://github.com/ecmwf/eccodes.git
Cleanup
This commit is contained in:
parent
5d8bfc5728
commit
d2e857e842
|
@ -341,10 +341,8 @@ static int read_GRIB(reader* r)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* fprintf(stderr,"%s sec1len=%d i=%d\n",type,sec1len,i); */
|
/* fprintf(stderr,"%s sec1len=%d i=%d\n",type,sec1len,i); */
|
||||||
|
|
||||||
GROW_BUF_IF_REQUIRED(sec1len + sec2len + sec3len + 4 + 3);
|
GROW_BUF_IF_REQUIRED(sec1len + sec2len + sec3len + 4 + 3);
|
||||||
|
|
||||||
|
|
||||||
for (j = 0; j < 3; j++) {
|
for (j = 0; j < 3; j++) {
|
||||||
if (r->read(r->read_data, &tmp[i], 1, &err) != 1 || err)
|
if (r->read(r->read_data, &tmp[i], 1, &err) != 1 || err)
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Reference in New Issue