svn commit: r346008 - head/stand/efi/loader
Toomas Soome
tsoome at FreeBSD.org
Tue Sep 3 14:06:29 UTC 2019
Author: tsoome
Date: Sun Apr 7 14:07:28 2019
New Revision: 346008
URL: https://svnweb.freebsd.org/changeset/base/346008
Log:
loader: command_lsefi: ret can be used uninitialized
MFC after: 1w
Modified:
head/stand/efi/loader/main.c
Modified: head/stand/efi/loader/main.c
==============================================================================
--- head/stand/efi/loader/main.c Sun Apr 7 13:36:17 2019 (r346007)
+++ head/stand/efi/loader/main.c Sun Apr 7 14:07:28 2019 (r346008)
@@ -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) {
More information about the svn-src-head
mailing list