diff options
Diffstat (limited to 'MdePkg/Library')
-rw-r--r-- | MdePkg/Library/HiiLib/HiiLanguage.c | 1 | ||||
-rw-r--r-- | MdePkg/Library/HiiLib/HiiString.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/HiiLib/HiiLanguage.c b/MdePkg/Library/HiiLib/HiiLanguage.c index 3d9a36d468..6948b2c331 100644 --- a/MdePkg/Library/HiiLib/HiiLanguage.c +++ b/MdePkg/Library/HiiLib/HiiLanguage.c @@ -84,6 +84,7 @@ HiiLibGetNextLanguage ( CHAR8 *StringPtr;
ASSERT (LangCode != NULL);
+ ASSERT (*LangCode != NULL);
ASSERT (Lang != NULL);
Index = 0;
diff --git a/MdePkg/Library/HiiLib/HiiString.c b/MdePkg/Library/HiiLib/HiiString.c index 0d07ebc68a..c7d11a5761 100644 --- a/MdePkg/Library/HiiLib/HiiString.c +++ b/MdePkg/Library/HiiLib/HiiString.c @@ -230,7 +230,6 @@ Out: @retval EFI_NOT_FOUND The string specified by StringId is not available.
@retval EFI_BUFFER_TOO_SMALL The buffer specified by StringLength is too small
to hold the string.
- @retval EFI_INVALID_PARAMETER The String or StringSize was NULL.
**/
EFI_STATUS
|