summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFrameworkModulePkg')
-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));