summaryrefslogtreecommitdiff
path: root/edk2/ShellPkg/Application
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-25 04:09:42 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-25 04:09:42 +0000
commitc1c64b30fa9ef39171a427ad5ccec43d4acaa126 (patch)
tree99aaacd694c0cf949c798f7ad95b428713853a7f /edk2/ShellPkg/Application
parentba14eea41d8b45b3afb415272162c8fd9a548bc0 (diff)
Fix build failure of ShellPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk@9479 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'edk2/ShellPkg/Application')
-rw-r--r--edk2/ShellPkg/Application/ShellLibTestApp/sa3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/edk2/ShellPkg/Application/ShellLibTestApp/sa3.c b/edk2/ShellPkg/Application/ShellLibTestApp/sa3.c
index 0e254d0fd..b294003a3 100644
--- a/edk2/ShellPkg/Application/ShellLibTestApp/sa3.c
+++ b/edk2/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 {