]> Kevux Git Server - fll/commitdiff
Cleanup: Change verbosity variable assignments structure.
authorKevin Day <Kevin@kevux.org>
Fri, 28 Mar 2025 02:03:07 +0000 (21:03 -0500)
committerKevin Day <Kevin@kevux.org>
Fri, 28 Mar 2025 02:03:07 +0000 (21:03 -0500)
level_2/fll_program/c/program.c

index d8b438b574e4ba6ed329ede72246daa965e16427..c2ad94ee368d574c7e4d0bb9c5db85e6538b28ad 100644 (file)
@@ -94,10 +94,11 @@ extern "C" {
       }
     }
 
-    main->message.verbosity = verbosity[choice];
-    main->output.verbosity = main->message.verbosity;
-    main->error.verbosity = main->message.verbosity;
-    main->warning.verbosity = main->message.verbosity;
+    main->warning.verbosity
+      = main->error.verbosity
+      = main->output.verbosity
+      = main->message.verbosity
+        = verbosity[choice];
 
     return F_okay;
   }