summaryrefslogtreecommitdiff
path: root/MdePkg/Library/HiiLib/HiiLanguage.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/HiiLib/HiiLanguage.c')
-rw-r--r--MdePkg/Library/HiiLib/HiiLanguage.c1
1 files changed, 1 insertions, 0 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;