diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-10-31 15:58:05 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-10-31 15:58:05 +0000 |
commit | 7538d53684792266c37e91f11a3ce2b7fb1e32d9 (patch) | |
tree | 1a82491c7ef95953283429136bde44ed621ed944 /MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | |
parent | 310580cf8a9656e3990b7d58fafdc0ce62b9b61f (diff) | |
download | edk2-platforms-7538d53684792266c37e91f11a3ce2b7fb1e32d9.tar.xz |
MdeModulePkg: Remove variables that are set, but not used
GCC 4.6 generates a warning when a variable is set,
but never used.
Signed-off-by: jljusten
Reviewed-by: lgao4
Reviewed-by: erictian
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12617 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Setup.c')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c index a1e6f81ecb..00462a270f 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c @@ -4128,7 +4128,6 @@ SaveReminder ( CHAR16 *ChangeReminderString;
CHAR16 *SaveConfirmString;
EFI_INPUT_KEY Key;
- EFI_STATUS Status;
DataSavedAction = BROWSER_NO_CHANGES;
IsDataChanged = FALSE;
@@ -4152,7 +4151,7 @@ SaveReminder ( //
// If data is changed, prompt user
//
- Status = gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);
+ gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);
YesResponse = GetToken (STRING_TOKEN (ARE_YOU_SURE_YES), gHiiHandle);
ASSERT (YesResponse != NULL);
|