From cfe36ae65b47e69db4d29cedfa35568d896cac77 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Thu, 27 Mar 2025 21:03:07 -0500 Subject: [PATCH] Cleanup: Change verbosity variable assignments structure. --- level_2/fll_program/c/program.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/level_2/fll_program/c/program.c b/level_2/fll_program/c/program.c index d8b438b..c2ad94e 100644 --- a/level_2/fll_program/c/program.c +++ b/level_2/fll_program/c/program.c @@ -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; } -- 1.8.3.1