From fd254f1564ad367a09dd2c5c84122ee01109f8de Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sat, 26 Aug 2023 20:22:51 +0100 Subject: [PATCH] Dead code removal --- tools/grib_get_data.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/grib_get_data.cc b/tools/grib_get_data.cc index 5682e3875..83b87421d 100644 --- a/tools/grib_get_data.cc +++ b/tools/grib_get_data.cc @@ -15,7 +15,6 @@ static grib_values* get_key_values(grib_runtime_options* options, grib_handle* h grib_option grib_options[] = { /* {id, args, help}, on, command_line, value */ - { "q", 0, 0, 1, 0, 0 }, { "S", 0, 0, 1, 0, 0 }, { "M", 0, 0, 0, 1, 0 }, { "m:", "missingValue", @@ -183,8 +182,7 @@ int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h) exit(1); } if (size != (size_t)numberOfPoints) { - if (!grib_options_on("q")) - fprintf(stderr, "ERROR: Wrong number of points %ld\n", numberOfPoints); + fprintf(stderr, "ERROR: Wrong number of points %ld\n", numberOfPoints); if (grib_options_on("f")) exit(1); }