summaryrefslogtreecommitdiff
path: root/ShellPkg
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
commit77882e266e58eea54ae7318365ef7cb9d117d6c4 (patch)
treea422d522dcd9ceb32fab467f558aee55cfbbbc73 /ShellPkg
parent8f8bfa5b85ada0c6c6aca12a5b664c24a860eb2a (diff)
downloadedk2-platforms-77882e266e58eea54ae7318365ef7cb9d117d6c4.tar.xz
Fix build failure of ShellPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9479 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Application/ShellLibTestApp/sa3.c12
1 files 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 {