Add ASSERT() check for StringInfoIn structure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7968 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2009-03-27 04:56:54 +00:00
parent b1a4c981ec
commit bd37f9718f
1 changed files with 5 additions and 1 deletions

View File

@ -2545,7 +2545,11 @@ HiiGetFontInfo (
goto Exit;
}
}
//
// StringInfoIn must not be NULL if it is not system default font info.
//
ASSERT (StringInfoIn != NULL);
//
// Check the font information mask to make sure it is valid.
//