mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
WS::Client::HTTPCore: fix coverity issue "declaration hides parameter"
CID 11948: (#2 of 2): Parse warning (PW.PARAMETER_HIDDEN) parameter_hidden: declaration hides parameter "error" Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
This commit is contained in:
parent
9524e33727
commit
b4082c93cb
@ -851,8 +851,8 @@ class HTTPCore : public Base, public TransportClientParent
|
||||
|
||||
openvpn_io::async_connect(s->socket,
|
||||
std::move(results),
|
||||
[self = Ptr(this)](const openvpn_io::error_code &error, const openvpn_io::ip::tcp::endpoint &endpoint)
|
||||
{ self->handle_tcp_connect(error, endpoint); });
|
||||
[self = Ptr(this)](const openvpn_io::error_code &error_, const openvpn_io::ip::tcp::endpoint &endpoint)
|
||||
{ self->handle_tcp_connect(error_, endpoint); });
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user