]> Kevux Git Server - fll/commitdiff
Cleanup: Style in FSS Extended Write.
authorKevin Day <kevin@kevux.org>
Sun, 3 Mar 2024 23:07:12 +0000 (17:07 -0600)
committerKevin Day <kevin@kevux.org>
Sun, 3 Mar 2024 23:07:12 +0000 (17:07 -0600)
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

index 936ea2fc341536e0f43733759e38b7efa98929ff..9c22ebc4586fd8eedb87c7ee67ace5062812b73b 100644 (file)
@@ -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);