diff options
author | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-09-29 02:44:33 +0000 |
---|---|---|
committer | erictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-09-29 02:44:33 +0000 |
commit | 02bbc6ee996d891988443384cc2398b1e46f3002 (patch) | |
tree | 677d3aef55c4718a958b52da7a6d243a16dfdfc1 /MdeModulePkg/Universal/HiiDatabaseDxe | |
parent | deb8a0615d7911f2e0fbe07c89b861c14f6c3267 (diff) | |
download | edk2-platforms-02bbc6ee996d891988443384cc2398b1e46f3002.tar.xz |
MdeModulePkg:removes the unreachable ‘break’ instruction after a ‘return’ instruction in the switch().
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13778 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/HiiDatabaseDxe')
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/Image.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c b/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c index db008a0bde..ccd1975573 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/Image.c @@ -882,7 +882,6 @@ HiiGetImage ( // BUGBUG: need to be supported as soon as image tool is designed.
//
return EFI_UNSUPPORTED;
- break;
case EFI_HII_IIBT_IMAGE_1BIT_TRANS:
case EFI_HII_IIBT_IMAGE_4BIT_TRANS:
@@ -942,7 +941,6 @@ HiiGetImage ( }
return EFI_SUCCESS;
- break;
case EFI_HII_IIBT_IMAGE_24BIT_TRANS:
Flag = TRUE;
@@ -976,11 +974,9 @@ HiiGetImage ( (EFI_HII_RGB_PIXEL *) (ImageBlock + sizeof (EFI_HII_IIBT_IMAGE_24BIT_BLOCK) - sizeof (EFI_HII_RGB_PIXEL))
);
return EFI_SUCCESS;
- break;
default:
return EFI_NOT_FOUND;
- break;
}
}
@@ -1087,7 +1083,6 @@ HiiSetImage ( // BUGBUG: need to be supported as soon as image tool is designed.
//
return EFI_UNSUPPORTED;
- break;
case EFI_HII_IIBT_IMAGE_1BIT:
case EFI_HII_IIBT_IMAGE_1BIT_TRANS:
@@ -1120,7 +1115,6 @@ HiiSetImage ( break;
default:
return EFI_NOT_FOUND;
- break;
}
//
|