Remove unused data members

This commit is contained in:
shahramn 2024-10-24 15:43:48 +01:00
parent cc74eff410
commit 9c83171076
2 changed files with 0 additions and 3 deletions

View File

@ -942,13 +942,11 @@ typedef struct grib_int_array grib_int_array;
struct grib_where struct grib_where
{ {
grib_context* context;
char* string; char* string;
}; };
struct grib_column struct grib_column
{ {
grib_context* context;
int refcount; int refcount;
char* name; char* name;
int type; int type;

View File

@ -103,7 +103,6 @@ static int grib_fieldset_new_column(grib_fieldset* set, int id, char* key, int t
return err; return err;
} }
set->columns[id].context = c;
set->columns[id].name = grib_context_strdup(c, key); set->columns[id].name = grib_context_strdup(c, key);
set->columns[id].type = type; set->columns[id].type = type;
set->columns[id].values_array_size = GRIB_START_ARRAY_SIZE; set->columns[id].values_array_size = GRIB_START_ARRAY_SIZE;