]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/PlatformDxe: Silence warning seen with GCC48 IA32
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 22 Mar 2014 07:13:38 +0000 (07:13 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 22 Mar 2014 07:13:38 +0000 (07:13 +0000)
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

OvmfPkg/PlatformDxe/Platform.c

index 4b141629c9aed195a264164a0d2de75536318775..f0adb0ea935853d0fd5bc28e1c9bd1dc7ec79407 100644 (file)
@@ -3,7 +3,7 @@
   them via HII.\r
 \r
   Copyright (C) 2014, Red Hat, Inc.\r
-  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials are licensed and made available\r
   under the terms and conditions of the BSD License which accompanies this\r
@@ -263,6 +263,8 @@ PopulateForm (
   EFI_IFR_GUID_LABEL *Anchor;\r
   VOID               *OpCodeBuffer2;\r
 \r
+  OpCodeBuffer2 = NULL;\r
+\r
   //\r
   // 1. Allocate an empty opcode buffer.\r
   //\r