]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/Shell/ShellProtocol.c
Update code to support VS2013 tool chain.
[mirror_edk2.git] / ShellPkg / Application / Shell / ShellProtocol.c
index 3d01283b60a1326495b47a0021dda177e8efe9df..403bed451681ab9125be1db6798ebe68fbd05c55 100644 (file)
@@ -1318,6 +1318,8 @@ EfiShellDeleteFileByName(
   SHELL_FILE_HANDLE FileHandle;\r
   EFI_STATUS        Status;\r
 \r
+  FileHandle = NULL;\r
+\r
   //\r
   // get a handle to the file\r
   //\r
@@ -1960,6 +1962,7 @@ EfiShellFindFilesInDir(
   UINTN                     Size;\r
   CHAR16                    *TempSpot;\r
 \r
+  BasePath = NULL;\r
   Status = FileHandleGetFileName(FileDirHandle, &BasePath);\r
   if (EFI_ERROR(Status)) {\r
     return (Status);\r