Removed unused variable #4750

This commit is contained in:
Jerry (Xinyu Hou) 2015-07-31 13:42:41 -07:00
parent 0ddf544efb
commit f8bb948776
2 changed files with 2 additions and 7 deletions

View File

@ -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)
{
}

View File

@ -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;
};