signed-off-by: jcarsey
reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11935
6f19259b-4bc3-4df7-8a09-
765794883524
CONST CHAR16 *TempLocation;\r
\r
ProfilesString = ShellGetEnvironmentVariable(L"profiles");\r
+ //\r
+ // According to the Shell spec this is a required environment variable.\r
+ //\r
+ ASSERT(ProfileString != NULL);\r
TempLocation = StrStr(ProfilesString, String);\r
if ((TempLocation != NULL) && (*(TempLocation-1) == L';') && (*(TempLocation+StrLen(String)) == L';')) {\r
return (TRUE);\r
ASSERT(FileList != NULL);\r
ASSERT(DestDir != NULL);\r
\r
+ //\r
+ // We already verified that this was present.\r
+ //\r
+ ASSERT(Cwd != NULL);\r
+\r
//\r
// If we are trying to copy multiple files... make sure we got a directory for the target...\r
//\r