mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-26 19:39:53 +03:00
src/Cedar/Protocol: remove unused function
found by cppcheck [src/Cedar/Protocol.c:6643]: (style) The function 'ProxyConnectEx' is never used.
This commit is contained in:
parent
8534f2843e
commit
162a181b04
@ -6640,15 +6640,6 @@ failure:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Connect through a proxy
|
// Connect through a proxy
|
||||||
SOCK *ProxyConnectEx(CONNECTION *c, char *proxy_host_name, UINT proxy_port,
|
|
||||||
char *server_host_name, UINT server_port,
|
|
||||||
char *username, char *password, bool additional_connect,
|
|
||||||
bool *cancel_flag, void *hWnd)
|
|
||||||
{
|
|
||||||
return ProxyConnectEx2(c, proxy_host_name, proxy_port,
|
|
||||||
server_host_name, server_port, username, password, additional_connect,
|
|
||||||
cancel_flag, hWnd, 0);
|
|
||||||
}
|
|
||||||
SOCK *ProxyConnectEx2(CONNECTION *c, char *proxy_host_name, UINT proxy_port,
|
SOCK *ProxyConnectEx2(CONNECTION *c, char *proxy_host_name, UINT proxy_port,
|
||||||
char *server_host_name, UINT server_port,
|
char *server_host_name, UINT server_port,
|
||||||
char *username, char *password, bool additional_connect,
|
char *username, char *password, bool additional_connect,
|
||||||
|
@ -257,10 +257,6 @@ SOCK *ClientAdditionalConnectToServer(CONNECTION *c);
|
|||||||
bool ClientUploadAuth2(CONNECTION *c, SOCK *s);
|
bool ClientUploadAuth2(CONNECTION *c, SOCK *s);
|
||||||
bool GetSessionKeyFromPack(PACK *p, UCHAR *session_key, UINT *session_key_32);
|
bool GetSessionKeyFromPack(PACK *p, UCHAR *session_key, UINT *session_key_32);
|
||||||
|
|
||||||
SOCK *ProxyConnectEx(CONNECTION *c, char *proxy_host_name, UINT proxy_port,
|
|
||||||
char *server_host_name, UINT server_port,
|
|
||||||
char *username, char *password, bool additional_connect,
|
|
||||||
bool *cancel_flag, void *hWnd);
|
|
||||||
SOCK *ProxyConnectEx2(CONNECTION *c, char *proxy_host_name, UINT proxy_port,
|
SOCK *ProxyConnectEx2(CONNECTION *c, char *proxy_host_name, UINT proxy_port,
|
||||||
char *server_host_name, UINT server_port,
|
char *server_host_name, UINT server_port,
|
||||||
char *username, char *password, bool additional_connect,
|
char *username, char *password, bool additional_connect,
|
||||||
|
Loading…
Reference in New Issue
Block a user