summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-07 22:52:16 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-07 22:52:16 +0000
commit7a45e5aa6917d5d4e07522aa5284a41e94ffa968 (patch)
treec84041d215817e8faa82a2d00da20308910d6613 /IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint
parent116c9e2ed9fb00ce6489a58912f5464b7fde70f7 (diff)
downloadedk2-platforms-7a45e5aa6917d5d4e07522aa5284a41e94ffa968.tar.xz
Remove TempStringLen. It was assigned, but not used. (ICC warning)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8788 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint')
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c
index 2334fd61b6..b6ea7ae8b2 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c
@@ -757,7 +757,6 @@ UpdateConModePage (
CHAR16 RowString[50];
CHAR16 ModeString[50];
CHAR16 *pStr;
- UINTN TempStringLen;
UINTN MaxMode;
UINTN ValidMode;
EFI_STRING_ID *ModeToken;
@@ -812,10 +811,10 @@ UpdateConModePage (
//
// Build mode string Column x Row
//
- TempStringLen = UnicodeValueToString (ModeString, 0, Col, 0);
+ UnicodeValueToString (ModeString, 0, Col, 0);
pStr = &ModeString[0];
StrnCat (pStr, L" x ", StrLen(L" x "));
- TempStringLen = UnicodeValueToString (RowString, 0, Row, 0);
+ UnicodeValueToString (RowString, 0, Row, 0);
pStr = &ModeString[0];
StrnCat (pStr, RowString, StrLen(RowString));