1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-26 19:39:53 +03:00

src/Cedar/AzureClient: remove unused function

found by cppcheck

[src/Cedar/AzureClient.c:526]: (style) The function 'AcGetEnable' is never used.
This commit is contained in:
Ilya Shipitsin 2019-01-06 18:34:04 +05:00
parent 359918c1cb
commit 4760b3d0c3
2 changed files with 0 additions and 13 deletions

View File

@ -522,18 +522,6 @@ void AcMainThread(THREAD *thread, void *param)
} }
} }
// Get enabled or disabled VPN Azure client
bool AcGetEnable(AZURE_CLIENT *ac)
{
// Validate arguments
if (ac == NULL)
{
return false;
}
return ac->IsEnabled;
}
// Enable or disable VPN Azure client // Enable or disable VPN Azure client
void AcSetEnable(AZURE_CLIENT *ac, bool enabled) void AcSetEnable(AZURE_CLIENT *ac, bool enabled)
{ {

View File

@ -166,7 +166,6 @@ void FreeAzureClient(AZURE_CLIENT *ac);
void AcApplyCurrentConfig(AZURE_CLIENT *ac, DDNS_CLIENT_STATUS *ddns_status); void AcApplyCurrentConfig(AZURE_CLIENT *ac, DDNS_CLIENT_STATUS *ddns_status);
void AcMainThread(THREAD *thread, void *param); void AcMainThread(THREAD *thread, void *param);
void AcSetEnable(AZURE_CLIENT *ac, bool enabled); void AcSetEnable(AZURE_CLIENT *ac, bool enabled);
bool AcGetEnable(AZURE_CLIENT *ac);
void AcWaitForRequest(AZURE_CLIENT *ac, SOCK *s, AZURE_PARAM *param); void AcWaitForRequest(AZURE_CLIENT *ac, SOCK *s, AZURE_PARAM *param);