From 10866beaeab24ea39c60b86cb984e37963cb9aaa Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 3 Mar 2024 17:07:12 -0600 Subject: [PATCH] Cleanup: Style in FSS Extended Write. The style changed over time and this code did not get updated. There are probably more such places but I am not looking for it. This just happened to be convenient. --- level_3/fss_extended_write/c/private-write.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/level_3/fss_extended_write/c/private-write.c b/level_3/fss_extended_write/c/private-write.c index 936ea2f..9c22ebc 100644 --- a/level_3/fss_extended_write/c/private-write.c +++ b/level_3/fss_extended_write/c/private-write.c @@ -9,9 +9,7 @@ extern "C" { #ifndef _di_fss_extended_write_error_parameter_same_times_at_least_print_ void fss_extended_write_error_parameter_same_times_at_least_print(fll_program_data_t * const main) { - if (main->error.verbosity == f_console_verbosity_quiet_e) { - return; - } + if (main->error.verbosity == f_console_verbosity_quiet_e) return; flockfile(main->error.to.stream); @@ -30,9 +28,7 @@ extern "C" { #ifndef _di_fss_extended_write_error_parameter_value_missing_print_ void fss_extended_write_error_parameter_value_missing_print(fll_program_data_t * const main, const f_string_static_t symbol, const f_string_static_t parameter) { - if (main->error.verbosity == f_console_verbosity_quiet_e) { - return; - } + if (main->error.verbosity == f_console_verbosity_quiet_e) return; flockfile(main->error.to.stream); @@ -47,9 +43,7 @@ extern "C" { #ifndef _di_fss_extended_write_error_parameter_unsupported_eol_print_ void fss_extended_write_error_parameter_unsupported_eol_print(fll_program_data_t * const main) { - if (main->error.verbosity == f_console_verbosity_quiet_e) { - return; - } + if (main->error.verbosity == f_console_verbosity_quiet_e) return; flockfile(main->error.to.stream); -- 1.8.3.1