mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17: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:
parent
359918c1cb
commit
4760b3d0c3
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user