From d2e857e84224b8d448cd93a1402e016ef5478d86 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 6 Feb 2023 20:41:18 +0000 Subject: [PATCH] Cleanup --- src/grib_io.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/grib_io.cc b/src/grib_io.cc index 3e7ac6264..da16be6d4 100644 --- a/src/grib_io.cc +++ b/src/grib_io.cc @@ -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;