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:
qhuang8 2009-03-10 13:58:52 +00:00
parent 9d34ae2011
commit ff565d71e1
1 changed files with 0 additions and 1 deletions

View File

@ -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;
} }