From 4d54310da5ac864cf407823cc07df743548527cc Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Thu, 14 Apr 2022 13:34:07 +0200 Subject: [PATCH] boot: Add missing continue statements Fortunately, this was not causing any issues as it will just try the other option branches unsuccessfuly before going to the next config line. --- src/boot/efi/boot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 747a0e0bbe7..4181545b0a7 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -1202,6 +1202,7 @@ static void config_defaults_load_from_file(Config *config, CHAR8 *content) { err = parse_boolean(value, &config->beep); if (EFI_ERROR(err)) log_error_stall(L"Error parsing 'beep' config option: %a", value); + continue; } if (strcmpa((CHAR8 *)"reboot-for-bitlocker", key) == 0) { @@ -1224,7 +1225,6 @@ static void config_defaults_load_from_file(Config *config, CHAR8 *content) { s = xstra_to_str(value); config->console_mode = MIN(Atoi(s), (UINTN)CONSOLE_MODE_RANGE_MAX); } - continue; } @@ -1246,6 +1246,7 @@ static void config_defaults_load_from_file(Config *config, CHAR8 *content) { config->random_seed_mode = on ? RANDOM_SEED_ALWAYS : RANDOM_SEED_OFF; } + continue; } } } -- 2.47.3