From: Kevin Day Date: Fri, 5 Nov 2021 01:51:53 +0000 (-0500) Subject: Cleanup: Fix styling practice where a newline should be after a loop. X-Git-Tag: 0.5.7~92 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=01cc0ff0deab5f838e5f343eaa142a331f66fbb1;p=fll Cleanup: Fix styling practice where a newline should be after a loop. Any loop whose insides are greater than 1 line should have a newline separating the loop line start from the content. --- diff --git a/level_3/byte_dump/c/byte_dump.c b/level_3/byte_dump/c/byte_dump.c index 40961db..e43df24 100644 --- a/level_3/byte_dump/c/byte_dump.c +++ b/level_3/byte_dump/c/byte_dump.c @@ -507,6 +507,7 @@ extern "C" { f_status_t byte_dump_main_delete(byte_dump_main_t *main) { for (f_array_length_t i = 0; i < byte_dump_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/control/c/control.c b/level_3/control/c/control.c index 5828881..ad8a0e7 100644 --- a/level_3/control/c/control.c +++ b/level_3/control/c/control.c @@ -146,6 +146,7 @@ extern "C" { f_status_t control_main_delete(control_main_t *main) { for (f_array_length_t i = 0; i < control_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/controller/c/controller.c b/level_3/controller/c/controller.c index 86e7555..145045d 100644 --- a/level_3/controller/c/controller.c +++ b/level_3/controller/c/controller.c @@ -462,6 +462,7 @@ extern "C" { f_status_t controller_main_delete(controller_main_t *main) { for (f_array_length_t i = 0; i < controller_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/firewall/c/firewall.c b/level_3/firewall/c/firewall.c index 65f92b2..53848b0 100644 --- a/level_3/firewall/c/firewall.c +++ b/level_3/firewall/c/firewall.c @@ -727,6 +727,7 @@ extern "C" { f_status_t firewall_main_delete(firewall_main_t *main) { for (f_array_length_t i = 0; i < firewall_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_basic_list_read/c/fss_basic_list_read.c b/level_3/fss_basic_list_read/c/fss_basic_list_read.c index 2b636b4..1138697 100644 --- a/level_3/fss_basic_list_read/c/fss_basic_list_read.c +++ b/level_3/fss_basic_list_read/c/fss_basic_list_read.c @@ -624,6 +624,7 @@ extern "C" { f_status_t fss_basic_list_read_main_delete(fss_basic_list_read_main_t *main) { for (f_array_length_t i = 0; i < fss_basic_list_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_basic_list_write/c/fss_basic_list_write.c b/level_3/fss_basic_list_write/c/fss_basic_list_write.c index 639d4fc..1bd7709 100644 --- a/level_3/fss_basic_list_write/c/fss_basic_list_write.c +++ b/level_3/fss_basic_list_write/c/fss_basic_list_write.c @@ -527,6 +527,7 @@ extern "C" { f_status_t fss_basic_list_write_main_delete(fss_basic_list_write_main_t *main) { for (f_array_length_t i = 0; i < fss_basic_list_write_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_basic_read/c/fss_basic_read.c b/level_3/fss_basic_read/c/fss_basic_read.c index 9b24223..33020d8 100644 --- a/level_3/fss_basic_read/c/fss_basic_read.c +++ b/level_3/fss_basic_read/c/fss_basic_read.c @@ -624,6 +624,7 @@ extern "C" { f_status_t fss_basic_read_main_delete(fss_basic_read_main_t *main) { for (f_array_length_t i = 0; i < fss_basic_read_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_basic_write/c/fss_basic_write.c b/level_3/fss_basic_write/c/fss_basic_write.c index bc95f79..123e9de 100644 --- a/level_3/fss_basic_write/c/fss_basic_write.c +++ b/level_3/fss_basic_write/c/fss_basic_write.c @@ -526,6 +526,7 @@ extern "C" { f_status_t fss_basic_write_main_delete(fss_basic_write_main_t *main) { for (f_array_length_t i = 0; i < fss_basic_write_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c b/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c index 205e9eb..6cebd78 100644 --- a/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c +++ b/level_3/fss_embedded_list_read/c/fss_embedded_list_read.c @@ -512,6 +512,7 @@ extern "C" { f_status_t fss_embedded_list_read_main_delete(fss_embedded_list_read_main_t *main) { for (f_array_length_t i = 0; i < fss_embedded_list_read_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_embedded_list_write/c/fss_embedded_list_write.c b/level_3/fss_embedded_list_write/c/fss_embedded_list_write.c index f76382e..6c28efe 100644 --- a/level_3/fss_embedded_list_write/c/fss_embedded_list_write.c +++ b/level_3/fss_embedded_list_write/c/fss_embedded_list_write.c @@ -538,6 +538,7 @@ extern "C" { f_status_t fss_embedded_list_write_main_delete(fss_embedded_list_write_main_t *main) { for (f_array_length_t i = 0; i < fss_embedded_list_write_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_extended_list_read/c/fss_extended_list_read.c b/level_3/fss_extended_list_read/c/fss_extended_list_read.c index 29f18ff..494daef 100644 --- a/level_3/fss_extended_list_read/c/fss_extended_list_read.c +++ b/level_3/fss_extended_list_read/c/fss_extended_list_read.c @@ -622,6 +622,7 @@ extern "C" { f_status_t fss_extended_list_read_main_delete(fss_extended_list_read_main_t *main) { for (f_array_length_t i = 0; i < fss_extended_list_read_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_extended_list_write/c/fss_extended_list_write.c b/level_3/fss_extended_list_write/c/fss_extended_list_write.c index e375446..76c171f 100644 --- a/level_3/fss_extended_list_write/c/fss_extended_list_write.c +++ b/level_3/fss_extended_list_write/c/fss_extended_list_write.c @@ -538,6 +538,7 @@ extern "C" { f_status_t fss_extended_list_write_main_delete(fss_extended_list_write_main_t *main) { for (f_array_length_t i = 0; i < fss_extended_list_write_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_extended_read/c/fss_extended_read.c b/level_3/fss_extended_read/c/fss_extended_read.c index acb5811..4d7ee23 100644 --- a/level_3/fss_extended_read/c/fss_extended_read.c +++ b/level_3/fss_extended_read/c/fss_extended_read.c @@ -622,6 +622,7 @@ extern "C" { f_status_t fss_extended_read_main_delete(fss_extended_read_main_t *main) { for (f_array_length_t i = 0; i < fss_extended_read_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_extended_write/c/fss_extended_write.c b/level_3/fss_extended_write/c/fss_extended_write.c index 2a26795..02062fe 100644 --- a/level_3/fss_extended_write/c/fss_extended_write.c +++ b/level_3/fss_extended_write/c/fss_extended_write.c @@ -603,6 +603,7 @@ extern "C" { f_status_t fss_extended_write_main_delete(fss_extended_write_main_t *main) { for (f_array_length_t i = 0; i < fss_extended_write_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/fss_status_code/c/fss_status_code.c b/level_3/fss_status_code/c/fss_status_code.c index e98c17f..011eebf 100644 --- a/level_3/fss_status_code/c/fss_status_code.c +++ b/level_3/fss_status_code/c/fss_status_code.c @@ -252,6 +252,7 @@ extern "C" { f_status_t fss_status_code_main_delete(fss_status_code_main_t *main) { for (f_array_length_t i = 0; i < fss_status_code_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/iki_read/c/iki_read.c b/level_3/iki_read/c/iki_read.c index 7935a96..8071d8f 100644 --- a/level_3/iki_read/c/iki_read.c +++ b/level_3/iki_read/c/iki_read.c @@ -498,6 +498,7 @@ extern "C" { f_status_t iki_read_main_delete(iki_read_main_t *main) { for (f_array_length_t i = 0; i < iki_read_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/iki_write/c/iki_write.c b/level_3/iki_write/c/iki_write.c index 3bca0e0..abe9f59 100644 --- a/level_3/iki_write/c/iki_write.c +++ b/level_3/iki_write/c/iki_write.c @@ -453,6 +453,7 @@ extern "C" { f_status_t iki_write_main_delete(iki_write_main_t *main) { for (f_array_length_t i = 0; i < iki_write_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values); diff --git a/level_3/status_code/c/status_code.c b/level_3/status_code/c/status_code.c index 9d2a099..8c6b301 100644 --- a/level_3/status_code/c/status_code.c +++ b/level_3/status_code/c/status_code.c @@ -253,6 +253,7 @@ extern "C" { f_status_t status_code_main_delete(status_code_main_t *main) { for (f_array_length_t i = 0; i < status_code_total_parameters_d; ++i) { + macro_f_array_lengths_t_delete_simple(main->parameters[i].locations); macro_f_array_lengths_t_delete_simple(main->parameters[i].locations_sub); macro_f_array_lengths_t_delete_simple(main->parameters[i].values);