From 77882e266e58eea54ae7318365ef7cb9d117d6c4 Mon Sep 17 00:00:00 2001 From: xli24 Date: Wed, 25 Nov 2009 04:09:42 +0000 Subject: [PATCH] Fix build failure of ShellPkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9479 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Application/ShellLibTestApp/sa3.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ShellPkg/Application/ShellLibTestApp/sa3.c b/ShellPkg/Application/ShellLibTestApp/sa3.c index 0e254d0fd4..b294003a3a 100644 --- a/ShellPkg/Application/ShellLibTestApp/sa3.c +++ b/ShellPkg/Application/ShellLibTestApp/sa3.c @@ -48,15 +48,15 @@ UefiMain ( EFI_FILE_HANDLE FileHandle; EFI_STATUS Status; CHAR16 FileName[100]; -// UINTN BufferSize; -// UINT64 Position; -// UINT8 Buffer[200]; + UINTN BufferSize; + UINT64 Position; + UINT8 Buffer[200]; EFI_FILE_INFO *pFileInfo; UINT64 Size; BOOLEAN NoFile; EFI_SHELL_FILE_INFO *pShellFileInfo; LIST_ENTRY *List; - CONST CHAR16 *Tester; + // CONST CHAR16 *Tester; FileHandle = NULL; StrCpy(FileName, L"testfile.txt"); @@ -76,8 +76,8 @@ UefiMain ( ASSERT(ShellCommandLineGetFlag(List, L"/Param1") != FALSE); ASSERT(StrCmp(ShellCommandLineGetValue(List, L"/Param2"), L"Val1")==0); ASSERT(StrCmp(ShellCommandLineGetRawValue(List, 0), L"SimpleApplication.efi")==0); - Tester = ShellCommandLineGetValue(List, L"/Param3"); - Tester = ShellCommandLineGetValue(List, L"/Param4"); + // Tester = ShellCommandLineGetValue(List, L"/Param3"); + // Tester = ShellCommandLineGetValue(List, L"/Param4"); ShellCommandLineFreeVarList(List); } else { -- 2.39.2