Revision: 16519
http://sourceforge.net/p/edk2/code/16519
Author: ydong10
Date: 2014-12-15 08:00:40 +0000 (Mon, 15 Dec 2014)
Log Message:
-----------
Eliminate the variable.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
Reviewed-by: Eric Dong <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c
Modified: trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c
2014-12-12 19:32:50 UTC (rev 16518)
+++ trunk/edk2/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c
2014-12-15 08:00:40 UTC (rev 16519)
@@ -466,7 +466,6 @@
)
{
UINTN Length;
- EFI_STRING PathHdr;
for (; (*String != 0 && StrnCmp (String, L"PATH=", StrLen (L"PATH=")) != 0);
String++);
if (*String == 0) {
@@ -477,7 +476,6 @@
if (*String == 0) {
return FALSE;
}
- PathHdr = String;
for (Length = 0; *String != 0 && *String != L'&'; String++, Length++);
if (((Length + 1) / 2) < sizeof (EFI_DEVICE_PATH_PROTOCOL)) {
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits