From: Kevin Day Date: Sun, 3 Mar 2024 23:07:12 +0000 (-0600) Subject: Cleanup: Style in FSS Extended Write. X-Git-Tag: 0.6.9~1 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=10866beaeab24ea39c60b86cb984e37963cb9aaa;p=fll 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. --- 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);