"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

efi_loader: initialize 'total' variable

This variable might end up being uninitialized if we exit early.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

authored by

Ilias Apalodimas and committed by
Heinrich Schuchardt
e80baf06 97d6a2e3

+1 -1
+1 -1
lib/efi_loader/efi_bootmgr.c
··· 1133 1133 { 1134 1134 u32 i; 1135 1135 efi_status_t ret; 1136 - efi_uintn_t count, num, total; 1136 + efi_uintn_t count, num, total = 0; 1137 1137 efi_handle_t *handles = NULL; 1138 1138 struct eficonfig_media_boot_option *opt = NULL; 1139 1139