mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
116c9e2ed9
commit
7a45e5aa69
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue