From c5a693cea60823e0a3df5a3e92604e4e8936c84a Mon Sep 17 00:00:00 2001 From: Samer El-Haj-Mahmoud Date: Tue, 6 Oct 2015 19:49:13 +0000 Subject: NetworkPkg: HttpDxe: Remove unused local variables Fix gcc build errors [-Werror=unused-but-set-variable]. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud Reviewed-by: Laszlo Ersek Build-tested-by: Laszlo Ersek [lersek@redhat.com: add more details to commit message] Signed-off-by: Laszlo Ersek git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18573 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/HttpDxe/HttpImpl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'NetworkPkg/HttpDxe/HttpImpl.c') diff --git a/NetworkPkg/HttpDxe/HttpImpl.c b/NetworkPkg/HttpDxe/HttpImpl.c index 50c0617436..588e1bb649 100644 --- a/NetworkPkg/HttpDxe/HttpImpl.c +++ b/NetworkPkg/HttpDxe/HttpImpl.c @@ -2,6 +2,7 @@ Implementation of EFI_HTTP_PROTOCOL protocol interfaces. Copyright (c) 2015, Intel Corporation. All rights reserved.
+ (C) Copyright 2015 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -227,7 +228,6 @@ EfiHttpRequest ( UINTN UrlLen; CHAR16 *HostNameStr; HTTP_TOKEN_WRAP *Wrap; - HTTP_TCP_TOKEN_WRAP *TcpWrap; CHAR8 *FileUrl; if ((This == NULL) || (Token == NULL)) { @@ -278,7 +278,6 @@ EfiHttpRequest ( HostName = NULL; Wrap = NULL; HostNameStr = NULL; - TcpWrap = NULL; // // Parse the URI of the remote host. -- cgit v1.2.3