From 4f1812dfa972a3193a36c33631d762db0bdd4bb3 Mon Sep 17 00:00:00 2001 From: Samer El-Haj-Mahmoud Date: Tue, 22 Dec 2015 02:02:11 +0000 Subject: NetworkPkg : Remove unused local variables to fix gcc build errors. (Sync patch r19436 from main trunk.) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud Reviewed-by: Fu Siyuan --- NetworkPkg/HttpDxe/HttpProto.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/NetworkPkg/HttpDxe/HttpProto.c b/NetworkPkg/HttpDxe/HttpProto.c index 165e95cc50..9660b6fb67 100644 --- a/NetworkPkg/HttpDxe/HttpProto.c +++ b/NetworkPkg/HttpDxe/HttpProto.c @@ -568,13 +568,9 @@ HttpCloseTcpRxEvent ( ) { HTTP_PROTOCOL *HttpInstance; - EFI_TCP4_IO_TOKEN *Rx4Token; - EFI_TCP6_IO_TOKEN *Rx6Token; ASSERT (Wrap != NULL); HttpInstance = Wrap->HttpInstance; - Rx4Token = NULL; - Rx6Token = NULL; if (HttpInstance->LocalAddressIsIPv6) { if (Wrap->TcpWrap.Rx6Token.CompletionToken.Event != NULL) { -- cgit v1.2.3