1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-26 19:39: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:
Ilya Shipitsin 2019-01-06 23:34:10 +05:00
parent dcf5c57fc2
commit 057984b87c
2 changed files with 0 additions and 7 deletions

View File

@ -122,12 +122,6 @@ bool GetNoSstp()
return g_no_sstp; return g_no_sstp;
} }
// Set the SSTP disabling flag
void SetNoSstp(bool b)
{
g_no_sstp = b;
}
// Process the SSTP control packet reception // Process the SSTP control packet reception
void SstpProcessControlPacket(SSTP_SERVER *s, SSTP_PACKET *p) void SstpProcessControlPacket(SSTP_SERVER *s, SSTP_PACKET *p)
{ {

View File

@ -257,6 +257,5 @@ SSTP_PACKET *SstpNewControlPacket(USHORT message_type);
SSTP_PACKET *SstpNewControlPacketWithAnAttribute(USHORT message_type, SSTP_ATTRIBUTE *a); SSTP_PACKET *SstpNewControlPacketWithAnAttribute(USHORT message_type, SSTP_ATTRIBUTE *a);
void SstpSendPacket(SSTP_SERVER *s, SSTP_PACKET *p); void SstpSendPacket(SSTP_SERVER *s, SSTP_PACKET *p);
bool GetNoSstp(); bool GetNoSstp();
void SetNoSstp(bool b);
#endif // PROTO_SSTP_H #endif // PROTO_SSTP_H