mirror of https://github.com/acidanthera/audk.git
Enhanced status return check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7508 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e618d0cb67
commit
7c1bc8d656
|
@ -1321,7 +1321,7 @@ HiiConfigToBlock (
|
||||||
// Get Offset
|
// Get Offset
|
||||||
//
|
//
|
||||||
Status = GetValueOfNumber (StringPtr, &TmpBuffer, &Length);
|
Status = GetValueOfNumber (StringPtr, &TmpBuffer, &Length);
|
||||||
if (Status == EFI_OUT_OF_RESOURCES) {
|
if (EFI_ERROR (Status)) {
|
||||||
*Progress = ConfigResp;
|
*Progress = ConfigResp;
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
@ -1369,7 +1369,7 @@ HiiConfigToBlock (
|
||||||
// Get Value
|
// Get Value
|
||||||
//
|
//
|
||||||
Status = GetValueOfNumber (StringPtr, &Value, &Length);
|
Status = GetValueOfNumber (StringPtr, &Value, &Length);
|
||||||
if (Status == EFI_OUT_OF_RESOURCES) {
|
if (EFI_ERROR (Status)) {
|
||||||
*Progress = ConfigResp;
|
*Progress = ConfigResp;
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue