mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-24 22:24:37 +02:00
NetworkPkg : Remove unused local variables to fix gcc build errors.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19436 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4ee9d53141
commit
81c16b17ad
@ -568,13 +568,9 @@ HttpCloseTcpRxEvent (
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
HTTP_PROTOCOL *HttpInstance;
|
HTTP_PROTOCOL *HttpInstance;
|
||||||
EFI_TCP4_IO_TOKEN *Rx4Token;
|
|
||||||
EFI_TCP6_IO_TOKEN *Rx6Token;
|
|
||||||
|
|
||||||
ASSERT (Wrap != NULL);
|
ASSERT (Wrap != NULL);
|
||||||
HttpInstance = Wrap->HttpInstance;
|
HttpInstance = Wrap->HttpInstance;
|
||||||
Rx4Token = NULL;
|
|
||||||
Rx6Token = NULL;
|
|
||||||
|
|
||||||
if (HttpInstance->LocalAddressIsIPv6) {
|
if (HttpInstance->LocalAddressIsIPv6) {
|
||||||
if (Wrap->TcpWrap.Rx6Token.CompletionToken.Event != NULL) {
|
if (Wrap->TcpWrap.Rx6Token.CompletionToken.Event != NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user