mirror of https://github.com/acidanthera/audk.git
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:
parent
b1a4c981ec
commit
bd37f9718f
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue