From c3f13b323be8138cdb0f1cf67765e5027663adca Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sat, 20 Jan 2024 13:57:44 +0000 Subject: [PATCH] Tools: Dead code removal --- tools/metar_compare.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/metar_compare.cc b/tools/metar_compare.cc index d78b8369c..f54390ce9 100644 --- a/tools/metar_compare.cc +++ b/tools/metar_compare.cc @@ -219,10 +219,6 @@ int grib_tool_init(grib_runtime_options* options) else onlyListed = 1; - if (grib_options_on("H") && grib_options_on("c:")) { - printf("Error: -H and -c options are incompatible. Choose one of the two please.\n"); - exit(1); - } if (grib_options_on("a") && !grib_options_on("c:")) { printf("Error: -a option requires -c option. Please define a list of keys with the -c option.\n"); exit(1);