X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=DuetPkg%2FLibrary%2FDuetBdsLib%2FBdsPlatform.c;h=1875dc963680c0fff3e397a16e9004a9008f6197;hp=205c49c7af11c1f04268ea19c8b2d9271e982e49;hb=c687b1464bb42a3c2d3eb2935ddd09752c6d2f2a;hpb=df6bd1b65c15cb03a6aca59e477611d91608181c diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c index 205c49c7af..1875dc9636 100644 --- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c +++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 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 distribution. The full text of the license may be found at @@ -721,7 +721,8 @@ Returns: EFI_DEVICE_PATH_PROTOCOL *DevicePath; EFI_DEVICE_PATH_PROTOCOL *GopDevicePath; - DevicePath = NULL; + DevicePath = NULL; + GopDevicePath = NULL; Status = gBS->HandleProtocol ( DeviceHandle, &gEfiDevicePathProtocolGuid,