]> git.dujemihanovic.xyz Git - u-boot.git/commit
eficonfig: fix missing variable initialization
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Mon, 14 Nov 2022 10:00:47 +0000 (19:00 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 16 Nov 2022 07:34:06 +0000 (08:34 +0100)
commit1167e88ab876febdc1c567e877a6d81996a566a1
tree8b80a360aceb4cfe8dcbbb8c8fac6a6f0a4954fb
parent95d18c5ed0ca952947214c619140e68b33005a4c
eficonfig: fix missing variable initialization

The 'ret' variable must be initialized before use
in eficonfig_delete_invalid_boot_option().

Fixes: c416f1c0bc ("bootmenu: add removable media entries")
Addresses-Coverity: 376207 ("Uninitialized variables")
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/eficonfig.c