mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 21:25:55 +08:00
Removed unused variable #4750
This commit is contained in:
@@ -59,8 +59,7 @@ SecureSocket::SecureSocket(
|
||||
SocketMultiplexer* socketMultiplexer) :
|
||||
TCPSocket(events, socketMultiplexer),
|
||||
m_secureReady(false),
|
||||
m_fatal(false),
|
||||
m_maxRetry(kMaxRetryCount)
|
||||
m_fatal(false)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -70,8 +69,7 @@ SecureSocket::SecureSocket(
|
||||
ArchSocket socket) :
|
||||
TCPSocket(events, socketMultiplexer, socket),
|
||||
m_secureReady(false),
|
||||
m_fatal(false),
|
||||
m_maxRetry(kMaxRetryCount)
|
||||
m_fatal(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -52,8 +52,6 @@ public:
|
||||
int secureWrite(const void* buffer, int size, int& wrote);
|
||||
void initSsl(bool server);
|
||||
bool loadCertificates(String& CertFile);
|
||||
void maxRetry(int limit) { m_maxRetry = limit; };
|
||||
int maxRetry() const { return m_maxRetry; };
|
||||
|
||||
private:
|
||||
// SSL
|
||||
@@ -87,5 +85,4 @@ private:
|
||||
Ssl* m_ssl;
|
||||
bool m_secureReady;
|
||||
bool m_fatal;
|
||||
int m_maxRetry;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user