summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/PlatformDxe/Platform.c
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-03-22 07:13:38 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-03-22 07:13:38 +0000
commitbc4c536628c619f1625fefb974d5cf189ce3e7ba (patch)
treed983cb72e82de9e32acb3ca1eea544d7d8355505 /OvmfPkg/PlatformDxe/Platform.c
parent92e745505cd7244894a818d1ad747117245b5831 (diff)
downloadedk2-bc4c536628c619f1625fefb974d5cf189ce3e7ba.tar.gz
edk2-bc4c536628c619f1625fefb974d5cf189ce3e7ba.tar.bz2
edk2-bc4c536628c619f1625fefb974d5cf189ce3e7ba.zip
OvmfPkg/PlatformDxe: Silence warning seen with GCC48 IA32
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15370 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/PlatformDxe/Platform.c')
-rw-r--r--OvmfPkg/PlatformDxe/Platform.c4
1 files changed, 3 insertions, 1 deletions
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.<BR>
+ Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
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.
//