diff options
Diffstat (limited to 'src/lib/utils/http_util/http_util.cpp')
-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); |