Tools: compiler warning re unused 'chunks' (netcdf v3)

This commit is contained in:
Shahram Najm 2020-08-29 12:45:41 +01:00
parent be695126cb
commit 5863d3eecb
1 changed files with 1 additions and 0 deletions

View File

@ -3076,6 +3076,7 @@ static int define_netcdf_dimensions(hypercube* h, fieldset* fs, int ncid, datase
stat = nc_def_var_deflate(ncid, var_id, setup.shuffle, 1, setup.deflate);
check_err("nc_def_var_deflate", stat, __LINE__);
#else
(void)chunks;
grib_context_log(ctx, GRIB_LOG_ERROR, "Deflate option only supported in NetCDF4");
#endif
}