]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Fix potentially uninitialized variable compiler warning
authorJaben Carsey <Jaben.carsey@intel.com>
Fri, 23 Aug 2013 15:21:16 +0000 (15:21 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 23 Aug 2013 15:21:16 +0000 (15:21 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14598 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c

index a8c1f6697e1f1ec0fcb7c120241eae59499eb533..087befd79028af2e49f427653291233a3410bd14 100644 (file)
@@ -542,6 +542,7 @@ ProcessValidateAndCopyFiles(
 \r
   List      = NULL;\r
   FullName  = NULL;\r
+  FileInfo  = NULL;\r
 \r
   ShellOpenFileMetaArg((CHAR16*)DestDir, EFI_FILE_MODE_READ, &List);\r
   if (List != NULL && List->Link.ForwardLink != List->Link.BackLink) {\r