]> git.proxmox.com Git - mirror_edk2.git/commitdiff
fix a issue to pass ICC build
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Dec 2007 07:26:18 +0000 (07:26 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 18 Dec 2007 07:26:18 +0000 (07:26 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4401 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Io.c

index 442deeb5094317ce3766e179647f9d4c7593ec6b..d021d1c02e1d0d06d37209c08ea37eb27dcbab01 100644 (file)
@@ -639,7 +639,6 @@ DhcpHandleSelect (
   IN DHCP_PARAMETER         *Para\r
   )\r
 {\r
-  EFI_DHCP4_HEADER          *Head;\r
   EFI_STATUS                Status;\r
 \r
   Status = EFI_SUCCESS;\r
@@ -650,8 +649,6 @@ DhcpHandleSelect (
   // 2. if it is a DHCP message, it must contains a server ID.\r
   // Don't return a error for these two case otherwise the session is ended.\r
   //\r
-  Head = &Packet->Dhcp4.Header;\r
-\r
   if (!DHCP_IS_BOOTP (Para) &&\r
      ((Para->DhcpType != DHCP_MSG_OFFER) || (Para->ServerId == 0))) {\r
     goto ON_EXIT;\r