From cefa5b48853c7ca364c675adc8c4efce7e53f1bc Mon Sep 17 00:00:00 2001 From: shahramn Date: Thu, 4 Apr 2024 15:21:42 +0100 Subject: [PATCH] Dead code removal: Unused data members --- src/grib_api_internal.h | 1 - tools/grib_tools.cc | 1 - tools/grib_tools.h | 1 - 3 files changed, 3 deletions(-) diff --git a/src/grib_api_internal.h b/src/grib_api_internal.h index e54b76615..9ceb25711 100644 --- a/src/grib_api_internal.h +++ b/src/grib_api_internal.h @@ -823,7 +823,6 @@ struct grib_handle grib_context* context; /** < context attached to this handle */ grib_buffer* buffer; /** < buffer attached to the handle */ grib_section* root; /** the root section*/ - grib_section* rules; /** the rules section*/ grib_dependency* dependencies; /** List of dependencies */ grib_handle* main; /** Used during reparsing */ grib_handle* kid; /** Used during reparsing */ diff --git a/tools/grib_tools.cc b/tools/grib_tools.cc index 13ce07eaa..2fe949a4a 100644 --- a/tools/grib_tools.cc +++ b/tools/grib_tools.cc @@ -77,7 +77,6 @@ static grib_runtime_options global_options = { 0, /* grib_tools_file* infile */ 0, /* grib_tools_file* outfile */ 0, /* grib_action* action */ - 0, /* grib_rule* rules */ 0, /* int dump_flags; */ 0, /* char* dump_mode; */ 0, /* repack */ diff --git a/tools/grib_tools.h b/tools/grib_tools.h index 6f54074e1..700d91027 100644 --- a/tools/grib_tools.h +++ b/tools/grib_tools.h @@ -137,7 +137,6 @@ typedef struct grib_runtime_options grib_tools_file* infile; grib_tools_file* outfile; grib_action* action; - grib_rule* rules; int dump_flags; char* dump_mode; int repack;