diff options
author | Sunny Wang <sunnywang@hpe.com> | 2015-08-28 05:41:06 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2015-08-28 05:41:06 +0000 |
commit | 4982ea57d973e25ded82841fe0fe351f173eac65 (patch) | |
tree | 03e36e35ecca3efe041b57daeb8b19ecf293ed31 /MdeModulePkg/Universal | |
parent | bec1e0bdf94edf2b5d6a11aed5268ea6b4525c73 (diff) | |
download | edk2-platforms-4982ea57d973e25ded82841fe0fe351f173eac65.tar.xz |
MdeModulePkg: Remove unused variables from both UefiBootManagerLib and BdsDxe to fix GCC build.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Sunny Wang <sunnywang@hpe.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18350 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c index 6ffb6676c4..c8898925e6 100644 --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c @@ -5,6 +5,7 @@ After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will be invoked
to enter BDS phase.
+(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2004 - 2015, 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
@@ -144,7 +145,6 @@ BdsEnumerateBootOptions ( {
EFI_STATUS Status;
EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions;
- UINT16 NonBlockNumber;
UINTN HandleCount;
EFI_HANDLE *Handles;
EFI_BLOCK_IO_PROTOCOL *BlkIo;
@@ -220,7 +220,6 @@ BdsEnumerateBootOptions ( //
// Parse simple file system not based on block io
//
- NonBlockNumber = 0;
gBS->LocateHandleBuffer (
ByProtocol,
&gEfiSimpleFileSystemProtocolGuid,
|