From bb393a9d4f2231e3caeebd79be5013e3af17de15 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 2 Mar 2015 12:52:37 +0100 Subject: [PATCH] Remove unused variables --- lib/base/tlsstream.cpp | 2 -- lib/base/tlsutility.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/base/tlsstream.cpp b/lib/base/tlsstream.cpp index 7d9c0ce26..f9bbb6de2 100644 --- a/lib/base/tlsstream.cpp +++ b/lib/base/tlsstream.cpp @@ -193,8 +193,6 @@ void TlsStream::OnEvent(int revents) err = SSL_get_error(m_SSL.get(), rc); - std::ostringstream msgbuf; - switch (err) { case SSL_ERROR_WANT_READ: m_Retry = true; diff --git a/lib/base/tlsutility.cpp b/lib/base/tlsutility.cpp index 91804b6f4..e69197529 100644 --- a/lib/base/tlsutility.cpp +++ b/lib/base/tlsutility.cpp @@ -78,7 +78,6 @@ void InitializeOpenSSL(void) */ boost::shared_ptr MakeSSLContext(const String& pubkey, const String& privkey, const String& cakey) { - std::ostringstream msgbuf; char errbuf[120]; InitializeOpenSSL();