From 9f56625f2a904701f460c88a7dbfaf17c4c83a22 Mon Sep 17 00:00:00 2001 From: Jaben Carsey Date: Fri, 23 Aug 2013 15:21:16 +0000 Subject: [PATCH] ShellPkg: Fix potentially uninitialized variable compiler warning Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14598 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c index a8c1f6697e..087befd790 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Cp.c @@ -542,6 +542,7 @@ ProcessValidateAndCopyFiles( List = NULL; FullName = NULL; + FileInfo = NULL; ShellOpenFileMetaArg((CHAR16*)DestDir, EFI_FILE_MODE_READ, &List); if (List != NULL && List->Link.ForwardLink != List->Link.BackLink) { -- 2.39.2