mirror of https://github.com/ecmwf/eccodes.git
Tools: Dead code removal
This commit is contained in:
parent
3c92203426
commit
c3f13b323b
|
@ -219,10 +219,6 @@ int grib_tool_init(grib_runtime_options* options)
|
||||||
else
|
else
|
||||||
onlyListed = 1;
|
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:")) {
|
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");
|
printf("Error: -a option requires -c option. Please define a list of keys with the -c option.\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Reference in New Issue