From bc4c536628c619f1625fefb974d5cf189ce3e7ba Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Sat, 22 Mar 2014 07:13:38 +0000 Subject: [PATCH] OvmfPkg/PlatformDxe: Silence warning seen with GCC48 IA32 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15370 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/PlatformDxe/Platform.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OvmfPkg/PlatformDxe/Platform.c b/OvmfPkg/PlatformDxe/Platform.c index 4b141629c9..f0adb0ea93 100644 --- a/OvmfPkg/PlatformDxe/Platform.c +++ b/OvmfPkg/PlatformDxe/Platform.c @@ -3,7 +3,7 @@ them via HII. Copyright (C) 2014, Red Hat, Inc. - Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this @@ -263,6 +263,8 @@ PopulateForm ( EFI_IFR_GUID_LABEL *Anchor; VOID *OpCodeBuffer2; + OpCodeBuffer2 = NULL; + // // 1. Allocate an empty opcode buffer. //