From 84b8497338c2242a92c10de801d12ab389573807 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Mon, 15 Dec 2014 08:00:40 +0000 Subject: Eliminate the variable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Eric Dong git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16519 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'MdeModulePkg') 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)) { -- cgit v1.2.3