summaryrefslogtreecommitdiff
path: root/OvmfPkg/Library/PlatformBdsLib
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2014-08-13 06:31:08 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-13 06:31:08 +0000
commitea5396f31a8db7344177b4dd5335ebd617861d58 (patch)
treedeae20b594ac8fc9ccf0a2e6a7cd0ff90a08bd54 /OvmfPkg/Library/PlatformBdsLib
parentc687b1464bb42a3c2d3eb2935ddd09752c6d2f2a (diff)
downloadedk2-platforms-ea5396f31a8db7344177b4dd5335ebd617861d58.tar.xz
Fix VS2013 build failure.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15795 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Library/PlatformBdsLib')
-rw-r--r--OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
index 9f953acf79..2a1ca88c2c 100644
--- a/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
+++ b/OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c
@@ -1,7 +1,7 @@
/** @file
Platform BDS customizations.
- Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2004 - 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 distribution. The full text of the license may be found at
@@ -367,7 +367,8 @@ Returns:
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
EFI_DEVICE_PATH_PROTOCOL *GopDevicePath;
- DevicePath = NULL;
+ DevicePath = NULL;
+ GopDevicePath = NULL;
Status = gBS->HandleProtocol (
DeviceHandle,
&gEfiDevicePathProtocolGuid,