summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-10 13:58:52 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-10 13:58:52 +0000
commitff565d71e126590b2f702b08ccc04ce3d0bddea9 (patch)
tree27071682d3c35a1cc7a3d6574a156c403d9e3bd6 /MdePkg
parent9d34ae2011a8aee422f36bef2336a4cb12bcd162 (diff)
downloadedk2-ff565d71e126590b2f702b08ccc04ce3d0bddea9.zip
edk2-ff565d71e126590b2f702b08ccc04ce3d0bddea9.tar.gz
edk2-ff565d71e126590b2f702b08ccc04ce3d0bddea9.tar.bz2
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
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseLib/String.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/String.c b/MdePkg/Library/BaseLib/String.c
index 70079f7..9a08344 100644
--- a/MdePkg/Library/BaseLib/String.c
+++ b/MdePkg/Library/BaseLib/String.c
@@ -822,7 +822,6 @@ StrHexToUintn (
}
if (InternalCharToUpper (*String) == L'X') {
- ASSERT (*(String - 1) == L'0');
if (*(String - 1) != L'0') {
return 0;
}