]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellLib/UefiShellLib.c
ShellPkg: Code refine. Add error handling code to check pointer and remove redundant...
[mirror_edk2.git] / ShellPkg / Library / UefiShellLib / UefiShellLib.c
index 6cef8b7d4cd03d6d05e6457482923a7d545b3663..b7ca41b9846b65bb5c91267b5d91a2a7dbb30f5f 100644 (file)
@@ -2079,7 +2079,6 @@ InternalCommandLineParse (
           break;\r
       }\r
     } else if (GetItemValue != 0 && CurrentItemPackage != NULL && !InternalIsFlag(Argv[LoopCounter], AlwaysAllowNumbers, (CONST BOOLEAN)(CurrentItemPackage->Type == TypeTimeValue))) {\r
-      ASSERT(CurrentItemPackage != NULL);\r
       //\r
       // get the item VALUE for a previous flag\r
       //\r