]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformDxe/Platform.c
OvmfPkg/PlatformDxe: Silence warning seen with GCC48 IA32
[mirror_edk2.git] / 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