diff --git a/src/grib_api_internal.h b/src/grib_api_internal.h index d17ffb83f..4b3fd8ccb 100644 --- a/src/grib_api_internal.h +++ b/src/grib_api_internal.h @@ -942,13 +942,11 @@ typedef struct grib_int_array grib_int_array; struct grib_where { - grib_context* context; char* string; }; struct grib_column { - grib_context* context; int refcount; char* name; int type; diff --git a/src/grib_fieldset.cc b/src/grib_fieldset.cc index 3bee07caf..5f691a49c 100644 --- a/src/grib_fieldset.cc +++ b/src/grib_fieldset.cc @@ -103,7 +103,6 @@ static int grib_fieldset_new_column(grib_fieldset* set, int id, char* key, int t return err; } - set->columns[id].context = c; set->columns[id].name = grib_context_strdup(c, key); set->columns[id].type = type; set->columns[id].values_array_size = GRIB_START_ARRAY_SIZE;