ArmPkg: Fix warnings raised by ARMGCC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11829 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -264,8 +264,11 @@ TryRemovableDevice (
|
||||
EFI_DEVICE_PATH* RemovableDevicePath;
|
||||
BOOLEAN RemovableFound;
|
||||
|
||||
RemovableFound = FALSE;
|
||||
TmpDevicePath = DevicePath;
|
||||
RemovableDevice = NULL;
|
||||
RemovableDevicePath = NULL;
|
||||
RemovableFound = FALSE;
|
||||
TmpDevicePath = DevicePath;
|
||||
|
||||
while (!IsDevicePathEnd (TmpDevicePath) && !RemovableFound) {
|
||||
for (Index = 0; Index < sizeof(RemovableDeviceSupport) / sizeof(BDS_REMOVABLE_DEVICE_SUPPORT); Index++) {
|
||||
RemovableDevice = &RemovableDeviceSupport[Index];
|
||||
|
Reference in New Issue
Block a user