Date: Sun, 7 Apr 2019 14:07:28 +0000 (UTC) From: Toomas Soome <tsoome@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r346008 - head/stand/efi/loader Message-ID: <201904071407.x37E7SvN058469@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904071407.x37E7SvN058469>