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:
@@ -2546,6 +2546,10 @@ HiiGetFontInfo (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// 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.
|
// Check the font information mask to make sure it is valid.
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user