diff options
author | Laszlo Ersek <lersek@redhat.com> | 2014-12-15 08:00:40 +0000 |
---|---|---|
committer | ydong10 <ydong10@Edk2> | 2014-12-15 08:00:40 +0000 |
commit | 84b8497338c2242a92c10de801d12ab389573807 (patch) | |
tree | fc7a768e1c9c7d3634bec22694653b348e97ded1 /MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | |
parent | d5daaa836f46a3f8fe57da37cad7841d2a9c4aca (diff) | |
download | edk2-84b8497338c2242a92c10de801d12ab389573807.zip edk2-84b8497338c2242a92c10de801d12ab389573807.tar.gz edk2-84b8497338c2242a92c10de801d12ab389573807.tar.bz2 |
Eliminate the variable.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16519 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c b/MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c index e9cdea0..d82e08e 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)) {
|