Unused accessor: bufr_clear_tables

This commit is contained in:
Shahram Najm 2021-12-21 21:04:42 +00:00
parent 253e929776
commit 5407ecd6d1
13 changed files with 397 additions and 413 deletions

View File

@ -26,10 +26,10 @@ if (masterTablesVersionNumber == 19) {
}
constant rootTablesDir="bufr/tables" : hidden;
meta clearTables bufr_clear_tables() = 0 : hidden,no_copy;
#meta clearTables bufr_clear_tables() = 0 : hidden,no_copy;
when (changed(tablesMasterDir)) { set clearTables=1;}
when (changed(tablesLocalDir)) { set clearTables=1;}
#when (changed(tablesMasterDir)) { set clearTables=1;}
#when (changed(tablesLocalDir)) { set clearTables=1;}
# we should implement some table version dependency
#constant templatesMasterDir="bufr/templates/[masterTableNumber]/[masterTablesVersionNumber]";

View File

@ -64,7 +64,6 @@ list( APPEND grib_api_srcs
grib_accessor_class_bitmap.c
grib_accessor_class_bits.c
grib_accessor_class_bits_per_value.c
grib_accessor_class_bufr_clear_tables.c
grib_accessor_class_bufr_elements_table.c
grib_accessor_class_bufr_data_array.c
grib_accessor_class_bufr_data_element.c

View File

@ -64,7 +64,6 @@ libeccodes_la_prototypes= \
grib_accessor_class_bitmap.c \
grib_accessor_class_bits.c \
grib_accessor_class_bits_per_value.c \
grib_accessor_class_bufr_clear_tables.c \
grib_accessor_class_bufr_data_array.c \
grib_accessor_class_bufr_data_element.c \
grib_accessor_class_bufr_elements_table.c \

View File

@ -21,7 +21,6 @@ Generated by src/make_accessor_class_hierarchy_dirs.sh
|---grib_accessor_class_bits
|---grib_accessor_class_blob
|---grib_accessor_class_box
|---grib_accessor_class_bufr_clear_tables
|---grib_accessor_class_bufr_data
|---grib_accessor_class_bufr_data_array
|---grib_accessor_class_bufr_data_element

View File

@ -133,8 +133,8 @@ static void init_class(grib_accessor_class* c)
static int pack_long(grib_accessor* a, const long* val, size_t* len)
{
grib_handle* h = grib_handle_of_accessor(a);
h->bufr_elements_table = NULL;
//grib_handle* h = grib_handle_of_accessor(a);
//h->bufr_elements_table = NULL;
return GRIB_SUCCESS;
}

View File

@ -12,7 +12,6 @@ extern grib_accessor_class* grib_accessor_class_bits_per_value;
extern grib_accessor_class* grib_accessor_class_blob;
extern grib_accessor_class* grib_accessor_class_box;
extern grib_accessor_class* grib_accessor_class_budgdate;
extern grib_accessor_class* grib_accessor_class_bufr_clear_tables;
extern grib_accessor_class* grib_accessor_class_bufr_data_array;
extern grib_accessor_class* grib_accessor_class_bufr_data_element;
extern grib_accessor_class* grib_accessor_class_bufr_elements_table;

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,6 @@
{ "blob", &grib_accessor_class_blob, },
{ "box", &grib_accessor_class_box, },
{ "budgdate", &grib_accessor_class_budgdate, },
{ "bufr_clear_tables", &grib_accessor_class_bufr_clear_tables, },
{ "bufr_data_array", &grib_accessor_class_bufr_data_array, },
{ "bufr_data_element", &grib_accessor_class_bufr_data_element, },
{ "bufr_elements_table", &grib_accessor_class_bufr_elements_table, },

View File

@ -13,7 +13,6 @@ bits_per_value, &grib_accessor_class_bits_per_value
blob, &grib_accessor_class_blob
box, &grib_accessor_class_box
budgdate, &grib_accessor_class_budgdate
bufr_clear_tables, &grib_accessor_class_bufr_clear_tables
bufr_data_array, &grib_accessor_class_bufr_data_array
bufr_data_element, &grib_accessor_class_bufr_data_element
bufr_elements_table, &grib_accessor_class_bufr_elements_table

View File

@ -903,7 +903,7 @@ struct grib_handle
long missingValueLong;
double missingValueDouble;
ProductKind product_kind;
grib_trie* bufr_elements_table;
/* grib_trie* bufr_elements_table; */
};
struct grib_multi_handle

View File

@ -277,8 +277,6 @@ size_t grib_viarray_used_size(grib_viarray* v);
/* grib_accessor_class_bits_per_value.c */
/* grib_accessor_class_bufr_clear_tables.c */
/* grib_accessor_class_bufr_data_array.c */
grib_vsarray* accessor_bufr_data_array_get_stringValues(grib_accessor* a);
grib_accessors_list* accessor_bufr_data_array_get_dataAccessors(grib_accessor* a);

View File

@ -214,7 +214,6 @@
<ClCompile Include="..\..\..\src\grib_accessor_class_box.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_budgdate.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_bufrdc_expanded_descriptors.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_bufr_clear_tables.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_bufr_data_array.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_bufr_data_element.c" />
<ClCompile Include="..\..\..\src\grib_accessor_class_bufr_elements_table.c" />

View File

@ -168,9 +168,6 @@
<ClCompile Include="..\..\..\src\grib_accessor_class_budgdate.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\grib_accessor_class_bufr_clear_tables.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\grib_accessor_class_bufr_data_array.c">
<Filter>Source Files</Filter>
</ClCompile>