mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
src/Cedar/Proto_SSTP: remove unused function
found by cppcheck [src/Cedar/Proto_SSTP.c:126]: (style) The function 'SetNoSstp' is never used.
This commit is contained in:
parent
dcf5c57fc2
commit
057984b87c
@ -122,12 +122,6 @@ bool GetNoSstp()
|
||||
return g_no_sstp;
|
||||
}
|
||||
|
||||
// Set the SSTP disabling flag
|
||||
void SetNoSstp(bool b)
|
||||
{
|
||||
g_no_sstp = b;
|
||||
}
|
||||
|
||||
// Process the SSTP control packet reception
|
||||
void SstpProcessControlPacket(SSTP_SERVER *s, SSTP_PACKET *p)
|
||||
{
|
||||
|
@ -257,6 +257,5 @@ SSTP_PACKET *SstpNewControlPacket(USHORT message_type);
|
||||
SSTP_PACKET *SstpNewControlPacketWithAnAttribute(USHORT message_type, SSTP_ATTRIBUTE *a);
|
||||
void SstpSendPacket(SSTP_SERVER *s, SSTP_PACKET *p);
|
||||
bool GetNoSstp();
|
||||
void SetNoSstp(bool b);
|
||||
|
||||
#endif // PROTO_SSTP_H
|
||||
|
Loading…
Reference in New Issue
Block a user