mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
loader: command_lsefi: ret can be used uninitialized
MFC after: 1w
This commit is contained in:
parent
ed79202682
commit
0dc2db13ec
1 changed files with 1 additions and 1 deletions
|
|
@ -1217,7 +1217,7 @@ command_lsefi(int argc __unused, char *argv[] __unused)
|
|||
EFI_HANDLE handle;
|
||||
UINTN bufsz = 0, i, j;
|
||||
EFI_STATUS status;
|
||||
int ret;
|
||||
int ret = 0;
|
||||
|
||||
status = BS->LocateHandle(AllHandles, NULL, NULL, &bufsz, buffer);
|
||||
if (status != EFI_BUFFER_TOO_SMALL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue