summaryrefslogtreecommitdiff
path: root/InOsEmuPkg/EmuBusDriverDxe/EmuBusDriverDxe.c
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-15 17:22:37 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-15 17:22:37 +0000
commit224e13333b0ef7041e78537db24e1c799dc40183 (patch)
tree14ebd323c65b5c2eaec465b5af82ebb24771aed1 /InOsEmuPkg/EmuBusDriverDxe/EmuBusDriverDxe.c
parenta690c005e8e584087e989a3552024b1c5a288126 (diff)
downloadedk2-platforms-224e13333b0ef7041e78537db24e1c799dc40183.tar.xz
InOsEmuPkg: Fix warnings with GCC44 toolchain
Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11648 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'InOsEmuPkg/EmuBusDriverDxe/EmuBusDriverDxe.c')
-rw-r--r--InOsEmuPkg/EmuBusDriverDxe/EmuBusDriverDxe.c27
1 files changed, 9 insertions, 18 deletions
diff --git a/InOsEmuPkg/EmuBusDriverDxe/EmuBusDriverDxe.c b/InOsEmuPkg/EmuBusDriverDxe/EmuBusDriverDxe.c
index b76236f325..0f04e0a3c4 100644
--- a/InOsEmuPkg/EmuBusDriverDxe/EmuBusDriverDxe.c
+++ b/InOsEmuPkg/EmuBusDriverDxe/EmuBusDriverDxe.c
@@ -1,15 +1,15 @@
/** @file
Emu Bus driver
-
-Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
+
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
Portions copyright (c) 2011, Apple Inc. 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
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+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
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
@@ -43,7 +43,6 @@ EmuBusDriverBindingSupported (
EFI_STATUS Status;
EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath;
EMU_THUNK_PROTOCOL *EmuThunk;
- UINTN Index;
//
// Check the contents of the first Device Path Node of RemainingDevicePath to make sure
@@ -145,17 +144,9 @@ EmuBusDriverBindingStart (
EMU_IO_DEVICE *EmuDevice;
EMU_BUS_DEVICE *EmuBusDevice;
EMU_IO_THUNK_PROTOCOL *EmuIoThunk;
- UINTN Index;
- CHAR16 *StartString;
- CHAR16 *SubString;
- UINTN StringSize;
UINT16 ComponentName[512];
EMU_VENDOR_DEVICE_PATH_NODE *Node;
BOOLEAN CreateDevice;
- CHAR16 *TempStr;
- CHAR16 *PcdTempStr;
- UINTN TempStrSize;
-
Status = EFI_UNSUPPORTED;