From: Eric Dong Date: Fri, 8 Nov 2013 02:23:27 +0000 (+0000) Subject: Not update the imageId for EXT1,2,4 type. X-Git-Tag: edk2-stable201903~12128 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=cd6abb00402d747c664fb2b3344c248d16307256 Not update the imageId for EXT1,2,4 type. Signed-off-by: Eric Dong Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14829 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c b/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c index ccd1975573..efa5bbb71b 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c @@ -2,7 +2,7 @@ Implementation for EFI_HII_IMAGE_PROTOCOL. -Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.
+Copyright (c) 2007 - 2013, 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 @@ -81,7 +81,6 @@ GetImageIdOrAddress ( case EFI_HII_IIBT_EXT1: Length8 = *(ImageBlock + sizeof (EFI_HII_IMAGE_BLOCK) + sizeof (UINT8)); ImageBlock += Length8; - ImageIdCurrent++; break; case EFI_HII_IIBT_EXT2: CopyMem ( @@ -90,7 +89,6 @@ GetImageIdOrAddress ( sizeof (UINT16) ); ImageBlock += Length16; - ImageIdCurrent++; break; case EFI_HII_IIBT_EXT4: CopyMem ( @@ -99,7 +97,6 @@ GetImageIdOrAddress ( sizeof (UINT32) ); ImageBlock += Length32; - ImageIdCurrent++; break; case EFI_HII_IIBT_IMAGE_1BIT: