diff options
author | Daniel Neus <[email protected]> | 2015-12-22 21:50:43 +0100 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2015-12-22 21:50:43 +0100 |
commit | aedb8d8ef646ed480296eb0a53513c74475cef08 (patch) | |
tree | b57a9fc558d859baf39730278b7f56d881c31e6e /src/lib/utils | |
parent | a589d7a2ede70871d3f563ed34cdd3c10046e5c2 (diff) |
some trivial compiler/PVS-Studio warning fixes
Diffstat (limited to 'src/lib/utils')
-rw-r--r-- | src/lib/utils/http_util/http_util.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/utils/http_util/http_util.cpp b/src/lib/utils/http_util/http_util.cpp index 1f67c0b4b..6d4e7c8e8 100644 --- a/src/lib/utils/http_util/http_util.cpp +++ b/src/lib/utils/http_util/http_util.cpp @@ -98,7 +98,6 @@ Response http_sync(http_exch_fn http_transact, const auto protocol_host_sep = url.find("://"); if(protocol_host_sep == std::string::npos) throw Exception("Invalid URL " + url); - const std::string protocol = url.substr(0, protocol_host_sep); const auto host_loc_sep = url.find('/', protocol_host_sep + 3); |