From 9101e79aa5b97ad2bc524f122027299b9fa97d9f Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 28 Oct 2022 13:24:17 +0100 Subject: [PATCH] C++ compilation --- tools/grib_to_netcdf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/grib_to_netcdf.c b/tools/grib_to_netcdf.c index 3b2fdb3e7..e20b74213 100644 --- a/tools/grib_to_netcdf.c +++ b/tools/grib_to_netcdf.c @@ -1657,6 +1657,7 @@ static void cube_indexes( } indexes[i] = j; } + (void)index; } /*********************************/