This commit is contained in:
Shahram Najm 2023-02-06 20:41:18 +00:00
parent 5d8bfc5728
commit d2e857e842
1 changed files with 0 additions and 2 deletions

View File

@ -341,10 +341,8 @@ static int read_GRIB(reader* r)
}
/* fprintf(stderr,"%s sec1len=%d i=%d\n",type,sec1len,i); */
GROW_BUF_IF_REQUIRED(sec1len + sec2len + sec3len + 4 + 3);
for (j = 0; j < 3; j++) {
if (r->read(r->read_data, &tmp[i], 1, &err) != 1 || err)
return err;