From: Jordan Justen Date: Sat, 22 Mar 2014 07:13:38 +0000 (+0000) Subject: OvmfPkg/PlatformDxe: Silence warning seen with GCC48 IA32 X-Git-Tag: edk2-stable201903~11607 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=bc4c536628c619f1625fefb974d5cf189ce3e7ba 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 --- 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. //