From 2b734a7ec429825c7007c1093883229e069d36c7 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 8 Jul 2019 15:48:59 +0200 Subject: Apply various suggestions by cppcheck Reported-By: cppcheck --- methods/basehttp.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'methods/basehttp.cc') diff --git a/methods/basehttp.cc b/methods/basehttp.cc index fd5934b40..e659da255 100644 --- a/methods/basehttp.cc +++ b/methods/basehttp.cc @@ -349,7 +349,6 @@ BaseHttpMethod::DealWithHeaders(FetchResult &Res, RequestState &Req) tmpURI.Access = base + '+' + tmpURI.Access; if (tmpURI.Access == Binary) { - std::string tmpAccess = Uri.Access; std::swap(tmpURI.Access, Uri.Access); NextURI = tmpURI; std::swap(tmpURI.Access, Uri.Access); -- cgit v1.2.3