Unused function

This commit is contained in:
Shahram Najm 2021-08-14 18:42:53 +01:00
parent d41b90070d
commit ea7ea3e197
2 changed files with 2 additions and 1 deletions

View File

@ -743,7 +743,6 @@ char* grib_get_field_file(grib_index* index, off_t* offset);
grib_handle* grib_handle_new_from_index(grib_index* index, int* err);
grib_handle* codes_new_from_index(grib_index* index, int message_type, int* err);
void grib_index_rewind(grib_index* index);
int grib_index_search(grib_index* index, grib_index_key* keys);
int codes_index_set_product_kind(grib_index* index, ProductKind product_kind);
int codes_index_set_unpack_bufr(grib_index* index, int unpack);
int is_index_file(const char* filename);

View File

@ -1921,6 +1921,7 @@ void grib_index_rewind(grib_index* index)
index->rewind = 1;
}
#if 0
static grib_index_key* search_key(grib_index_key* keys, grib_index_key* to_search)
{
if (!keys || !strcmp(keys->name, to_search->name))
@ -1947,6 +1948,7 @@ int grib_index_search(grib_index* index, grib_index_key* keys)
grib_index_rewind(index);
return 0;
}
#endif
int codes_index_set_product_kind(grib_index* index, ProductKind product_kind)
{