Commit f3f6edb4 authored by Adrian Reber's avatar Adrian Reber Committed by Andrei Vagin

config: remove more unused option handling

The variable show_dump_file and show_fmt are assigned but never used,
this remove the assignment. The CLI option still exists to not break the
user interface.  It exists, but it is unused.
Signed-off-by: 's avatarAdrian Reber <areber@redhat.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 1bc4b8b5
...@@ -514,12 +514,6 @@ int parse_options(int argc, char **argv, bool *usage_error, bool *has_exec_cmd) ...@@ -514,12 +514,6 @@ int parse_options(int argc, char **argv, bool *usage_error, bool *has_exec_cmd)
case 'c': case 'c':
opts.show_pages_content = true; opts.show_pages_content = true;
break; break;
case 'f':
opts.show_dump_file = optarg;
break;
case 'F':
opts.show_fmt = optarg;
break;
case 'r': case 'r':
opts.root = optarg; opts.root = optarg;
break; break;
......
...@@ -50,8 +50,6 @@ struct irmap_path_opt { ...@@ -50,8 +50,6 @@ struct irmap_path_opt {
struct cr_options { struct cr_options {
int final_state; int final_state;
char *show_dump_file;
char *show_fmt;
int check_extra_features; int check_extra_features;
int check_experimental_features; int check_experimental_features;
bool show_pages_content; bool show_pages_content;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment