ShellPkg: Fix potentially uninitialized variable compiler warning

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
This commit is contained in:
Jaben Carsey 2013-08-23 15:21:16 +00:00 committed by jcarsey
parent ce1d1c9a5f
commit 9f56625f2a
1 changed files with 1 additions and 0 deletions

View File

@ -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) {