From: qwang12 Date: Tue, 18 Dec 2007 07:26:18 +0000 (+0000) Subject: fix a issue to pass ICC build X-Git-Tag: edk2-stable201903~21661 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=893ce03b01de6dcd7ffd4b05a58e627d1f6c50ae;p=mirror_edk2.git fix a issue to pass ICC build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4401 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c index 442deeb509..d021d1c02e 100644 --- a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c +++ b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c @@ -639,7 +639,6 @@ DhcpHandleSelect ( IN DHCP_PARAMETER *Para ) { - EFI_DHCP4_HEADER *Head; EFI_STATUS Status; Status = EFI_SUCCESS; @@ -650,8 +649,6 @@ DhcpHandleSelect ( // 2. if it is a DHCP message, it must contains a server ID. // Don't return a error for these two case otherwise the session is ended. // - Head = &Packet->Dhcp4.Header; - if (!DHCP_IS_BOOTP (Para) && ((Para->DhcpType != DHCP_MSG_OFFER) || (Para->ServerId == 0))) { goto ON_EXIT;