summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-10-26 18:01:24 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-10-26 18:01:24 +0100
commit382662a8a4ae5c501b096643cb8f09d2d9d084d0 (patch)
tree30c0499a406c365cbe4ec7f068d51d80a5c9dfaf /src/modules/extra
parent680e9e0809d8569c8268122e3fecd2b6b62b2e65 (diff)
Remove some dead code found by Coverity
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 02f44f2f1..b21091d3f 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -750,10 +750,8 @@ class ModuleSSLOpenSSL : public Module
else if (ret == 0)
{
CloseSession(session);
- return false;
}
-
- return true;
+ return false;
}
void CloseSession(issl_session* session)