Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/gnu-efi/dist/lib avoid uninitialised variab...
details: https://anonhg.NetBSD.org/src/rev/3cb788e1d559
branches: trunk
changeset: 961207:3cb788e1d559
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Apr 12 09:24:24 2021 +0000
description:
avoid uninitialised variable access. make this case like the other 2 around it.
diffstat:
sys/external/bsd/gnu-efi/dist/lib/misc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r b58ab9ce3dec -r 3cb788e1d559 sys/external/bsd/gnu-efi/dist/lib/misc.c
--- a/sys/external/bsd/gnu-efi/dist/lib/misc.c Mon Apr 12 09:23:32 2021 +0000
+++ b/sys/external/bsd/gnu-efi/dist/lib/misc.c Mon Apr 12 09:24:24 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.1.1.2 2018/08/16 18:17:47 jmcneill Exp $ */
+/* $NetBSD: misc.c,v 1.2 2021/04/12 09:24:24 mrg Exp $ */
/*++
@@ -256,6 +256,7 @@
// Initialize for GrowBuffer loop
//
+ Status = EFI_SUCCESS;
Buffer = NULL;
BufferSize = 100;
Home |
Main Index |
Thread Index |
Old Index