mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
Remove unused variables
This commit is contained in:
parent
1bcc1a7b92
commit
bb393a9d4f
@ -193,8 +193,6 @@ void TlsStream::OnEvent(int revents)
|
|||||||
|
|
||||||
err = SSL_get_error(m_SSL.get(), rc);
|
err = SSL_get_error(m_SSL.get(), rc);
|
||||||
|
|
||||||
std::ostringstream msgbuf;
|
|
||||||
|
|
||||||
switch (err) {
|
switch (err) {
|
||||||
case SSL_ERROR_WANT_READ:
|
case SSL_ERROR_WANT_READ:
|
||||||
m_Retry = true;
|
m_Retry = true;
|
||||||
|
@ -78,7 +78,6 @@ void InitializeOpenSSL(void)
|
|||||||
*/
|
*/
|
||||||
boost::shared_ptr<SSL_CTX> MakeSSLContext(const String& pubkey, const String& privkey, const String& cakey)
|
boost::shared_ptr<SSL_CTX> MakeSSLContext(const String& pubkey, const String& privkey, const String& cakey)
|
||||||
{
|
{
|
||||||
std::ostringstream msgbuf;
|
|
||||||
char errbuf[120];
|
char errbuf[120];
|
||||||
|
|
||||||
InitializeOpenSSL();
|
InitializeOpenSSL();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user