Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cedar/Client.c')
-rw-r--r--src/Cedar/Client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Cedar/Client.c b/src/Cedar/Client.c
index f01954c7..573c0e5f 100644
--- a/src/Cedar/Client.c
+++ b/src/Cedar/Client.c
@@ -5834,8 +5834,6 @@ REMOTE_CLIENT *CcConnectRpcEx(char *server_name, char *password, bool *bad_pass,
// read the current port number from the registry of the localhost
if (StrCmpi(server_name, "localhost") == 0)
{
- wchar_t exename[MAX_PATH];
-
reg_port = MsRegReadIntEx2(REG_LOCAL_MACHINE, CLIENT_WIN32_REGKEYNAME, CLIENT_WIN32_REGVALUE_PORT, false, true);
reg_pid = MsRegReadIntEx2(REG_LOCAL_MACHINE, CLIENT_WIN32_REGKEYNAME, CLIENT_WIN32_REGVALUE_PID, false, true);