From 0cf898b592d74a721a8b4a852d1533eaeb701f64 Mon Sep 17 00:00:00 2001 From: shahramn Date: Sun, 25 Aug 2024 16:39:56 +0100 Subject: [PATCH] Dead code removal --- src/eccodes_prototypes.h | 1 - src/grib_fieldset.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/eccodes_prototypes.h b/src/eccodes_prototypes.h index a75d82d1a..d7479e960 100644 --- a/src/eccodes_prototypes.h +++ b/src/eccodes_prototypes.h @@ -466,7 +466,6 @@ long grib_julian_to_date(long jdate); long grib_date_to_julian(long ddate); /* grib_fieldset.cc */ -int grib_fieldset_new_column(grib_fieldset* set, int id, char* key, int type); grib_fieldset* grib_fieldset_new_from_files(grib_context* c, const char* filenames[], int nfiles, const char** keys, int nkeys, const char* where_string, const char* order_by_string, int* err); int grib_fieldset_apply_where(grib_fieldset* set, const char* where_string); int grib_fieldset_apply_order_by(grib_fieldset* set, const char* order_by_string); diff --git a/src/grib_fieldset.cc b/src/grib_fieldset.cc index 72cb928c6..a37013844 100644 --- a/src/grib_fieldset.cc +++ b/src/grib_fieldset.cc @@ -55,7 +55,7 @@ static int grib_fieldset_set_order_by(grib_fieldset* set, grib_order_by* ob); /* --------------- grib_column functions ------------------*/ -int grib_fieldset_new_column(grib_fieldset* set, int id, char* key, int type) +static int grib_fieldset_new_column(grib_fieldset* set, int id, char* key, int type) { grib_column* column = NULL; grib_context* c;