From: Jan Janssen Date: Thu, 14 Apr 2022 11:34:07 +0000 (+0200) Subject: boot: Add missing continue statements X-Git-Tag: v251-rc2~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d54310da5ac864cf407823cc07df743548527cc;p=thirdparty%2Fsystemd.git 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. --- 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; } } }