summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c b/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c
index e9cdea0e8b..d82e08ed91 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c
@@ -466,7 +466,6 @@ IsDevicePathExist (
)
{
UINTN Length;
- EFI_STRING PathHdr;
for (; (*String != 0 && StrnCmp (String, L"PATH=", StrLen (L"PATH=")) != 0); String++);
if (*String == 0) {
@@ -477,7 +476,6 @@ IsDevicePathExist (
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)) {