From e70ac676f1907f17bcf24e428008183b8ccb96f5 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 25 Feb 2024 11:37:37 -0600 Subject: [PATCH] Bugfix: Incorrect mode display when featureless make is building settings. The modes being displayed are the default modes. This is incorrect. The modes being selected should be displayed. This is a bug only with the messages being printed and does not affect the actual build process. The build process appears to be operating correctly. --- level_3/fake/c/private-build.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/level_3/fake/c/private-build.c b/level_3/fake/c/private-build.c index c6037e9..14228a3 100644 --- a/level_3/fake/c/private-build.c +++ b/level_3/fake/c/private-build.c @@ -850,9 +850,6 @@ const f_string_static_t fake_build_documentation_files_s = macro_f_string_static if (build_arguments->used > 1) { modes_custom.used = build_arguments->used - 1; } - else if (data_build.setting.modes.used) { - modes_custom.used = data_build.setting.modes.used; - } } f_string_static_t modes_custom_array[modes_custom.used]; @@ -866,11 +863,6 @@ const f_string_static_t fake_build_documentation_files_s = macro_f_string_static modes_custom.array[i] = build_arguments->array[i + 1]; } // for } - else if (data_build.setting.modes.used) { - for (; i < data_build.setting.modes.used; ++i) { - modes_custom.array[i] = data_build.setting.modes.array[i]; - } // for - } } // Custom modes are always used if provided, otherwise fallback to the passed modes or the default modes. -- 1.8.3.1