From: Kevin Day Date: Tue, 30 May 2023 00:50:57 +0000 (-0500) Subject: Bugfix: Remove extra (and invalid) processing of --select parameter. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=feb6430ce0a05cc10bac85b0a62bb8b8da4e5848;p=fll Bugfix: Remove extra (and invalid) processing of --select parameter. This --select parameter is already processed and validated earlier in the settings load function. --- 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; }