From feb6430ce0a05cc10bac85b0a62bb8b8da4e5848 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 29 May 2023 19:50:57 -0500 Subject: [PATCH] Bugfix: Remove extra (and invalid) processing of --select parameter. This --select parameter is already processed and validated earlier in the settings load function. --- level_3/fss_read/c/main/common.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/level_3/fss_read/c/main/common.c b/level_3/fss_read/c/main/common.c index 0194308..72b979f 100644 --- a/level_3/fss_read/c/main/common.c +++ b/level_3/fss_read/c/main/common.c @@ -471,20 +471,6 @@ extern "C" { fss_read_setting_load_depth(arguments, main, parameters); if (F_status_is_error(main->setting.state.status)) return; - if (parameters->array[fss_read_parameter_select_e].result & f_console_result_found_e) { - main->setting.state.status = F_status_set_error(F_parameter); - - if ((main->setting.flag & fss_read_main_flag_print_first_e) && main->program.message.verbosity > f_console_verbosity_error_e) { - fll_print_dynamic_raw(f_string_eol_s, main->program.message.to); - } - - index = parameters->array[fss_read_parameter_select_e].values.array[i]; - - fll_program_print_error_parameter_integer_not_positive(&main->program.error, f_console_symbol_long_normal_s, fss_read_long_select_s, parameters->arguments.array[index]); - - return; - } - if (parameters->array[fss_read_parameter_trim_e].result & f_console_result_found_e) { main->setting.flag |= fss_read_main_flag_trim_e; } -- 1.8.3.1