mirror of https://github.com/acidanthera/audk.git
Remove incorrect assertion. According to spec, it should not assert and should return 0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7853 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9d34ae2011
commit
ff565d71e1
|
@ -822,7 +822,6 @@ StrHexToUintn (
|
||||||
}
|
}
|
||||||
|
|
||||||
if (InternalCharToUpper (*String) == L'X') {
|
if (InternalCharToUpper (*String) == L'X') {
|
||||||
ASSERT (*(String - 1) == L'0');
|
|
||||||
if (*(String - 1) != L'0') {
|
if (*(String - 1) != L'0') {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue