summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-17 19:06:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-17 19:06:16 +0000
commit94eb9af0abd8636a8edd99fc23a3fc937417e962 (patch)
treeb71ed15e7aa61a1d3196b4cb5692b97d74c2d0ef /src
parentb5763d79dc615faaf0e17d3349bdd36d593d3584 (diff)
Remove/fix unused variable warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6366 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index c302677a7..48648425d 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -254,7 +254,7 @@ class ModuleSSLGnuTLS : public Module
if(mod == this)
{
// We're being unloaded, kill all the users added to the cull list in OnCleanup
- int numusers = culllist->Apply();
+ culllist->Apply();
for(unsigned int i = 0; i < listenports.size(); i++)
{
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index 639a1689b..72ceea4d0 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -288,7 +288,7 @@ class ModuleSSLOpenSSL : public Module
if (mod == this)
{
// We're being unloaded, kill all the users added to the cull list in OnCleanup
- int numusers = culllist->Apply();
+ culllist->Apply();
for(unsigned int i = 0; i < listenports.size(); i++)
{