From ff565d71e126590b2f702b08ccc04ce3d0bddea9 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 10 Mar 2009 13:58:52 +0000 Subject: 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 --- MdePkg/Library/BaseLib/String.c | 1 - 1 file changed, 1 deletion(-) (limited to 'MdePkg/Library/BaseLib/String.c') diff --git a/MdePkg/Library/BaseLib/String.c b/MdePkg/Library/BaseLib/String.c index 70079f7975..9a083444b3 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; } -- cgit v1.2.3