diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 21:00:35 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 21:00:35 +0000 |
commit | 2e1f86fd0c9911210b79e6ac346672441eef18c4 (patch) | |
tree | 9151566c4c38be05335dbbe907d64bc3085c664b /src/modules/extra | |
parent | 7240c926c8e9aeacf95c2bd4803c8879963cca3f (diff) |
All of insp now builds with -pedantic (theres some warnings to squash in modules, and in spanningtree, but its all 'unused parameter').
I suggest we actually go through and satisfy these unused parameter errors for two reasons:
(1) it acts as a strong compiler hint leading to better optimization
(2) it will give us a good clue of what parameters are NEVER used and should therefore be removed from use (like i just did with AddMode)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8323 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sqlauth.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sqlite3.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sqllog.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sqloper.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sqlutils.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_ssl_gnutls.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_ssl_oper_cert.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sslinfo.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_testclient.cpp | 3 | ||||
-rw-r--r-- | src/modules/extra/m_ziplink.cpp | 2 |
12 files changed, 13 insertions, 12 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 3120836c9..34e653e2a 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -983,4 +983,4 @@ void SQLConn::DelayReconnect() ((ModulePgSQL*)us)->ReconnectConn(this); } -MODULE_INIT(ModulePgSQL); +MODULE_INIT(ModulePgSQL) diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index 8eb451f47..98b0227e5 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -190,4 +190,4 @@ public: }; -MODULE_INIT(ModuleSQLAuth); +MODULE_INIT(ModuleSQLAuth) diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp index 0f0da20a1..6ba5967f3 100644 --- a/src/modules/extra/m_sqlite3.cpp +++ b/src/modules/extra/m_sqlite3.cpp @@ -656,5 +656,5 @@ void ResultNotifier::Dispatch() ((ModuleSQLite3*)mod)->SendQueue(); } -MODULE_INIT(ModuleSQLite3); +MODULE_INIT(ModuleSQLite3) diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp index 6194e502d..9376ad265 100644 --- a/src/modules/extra/m_sqllog.cpp +++ b/src/modules/extra/m_sqllog.cpp @@ -310,4 +310,4 @@ class ModuleSQLLog : public Module }; -MODULE_INIT(ModuleSQLLog); +MODULE_INIT(ModuleSQLLog) diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index c697d6a9b..530662870 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -279,4 +279,4 @@ public: }; -MODULE_INIT(ModuleSQLOper); +MODULE_INIT(ModuleSQLOper) diff --git a/src/modules/extra/m_sqlutils.cpp b/src/modules/extra/m_sqlutils.cpp index b53186f71..07cecc698 100644 --- a/src/modules/extra/m_sqlutils.cpp +++ b/src/modules/extra/m_sqlutils.cpp @@ -234,4 +234,4 @@ public: }; -MODULE_INIT(ModuleSQLutils); +MODULE_INIT(ModuleSQLutils) diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 323fe912f..4b059ca9f 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -864,4 +864,4 @@ class ModuleSSLGnuTLS : public Module }; -MODULE_INIT(ModuleSSLGnuTLS); +MODULE_INIT(ModuleSSLGnuTLS) diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index b845af6b6..5355e1855 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -891,4 +891,4 @@ static int error_callback(const char *str, size_t len, void *u) return 0; } -MODULE_INIT(ModuleSSLOpenSSL); +MODULE_INIT(ModuleSSLOpenSSL) diff --git a/src/modules/extra/m_ssl_oper_cert.cpp b/src/modules/extra/m_ssl_oper_cert.cpp index 3d0e81928..38dbb8f20 100644 --- a/src/modules/extra/m_ssl_oper_cert.cpp +++ b/src/modules/extra/m_ssl_oper_cert.cpp @@ -176,5 +176,5 @@ class ModuleOperSSLCert : public Module } }; -MODULE_INIT(ModuleOperSSLCert); +MODULE_INIT(ModuleOperSSLCert) diff --git a/src/modules/extra/m_sslinfo.cpp b/src/modules/extra/m_sslinfo.cpp index 0d3dce2eb..d87ac64e3 100644 --- a/src/modules/extra/m_sslinfo.cpp +++ b/src/modules/extra/m_sslinfo.cpp @@ -90,5 +90,5 @@ class ModuleSSLInfo : public Module } }; -MODULE_INIT(ModuleSSLInfo); +MODULE_INIT(ModuleSSLInfo) diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp index da0d36df8..179a14a19 100644 --- a/src/modules/extra/m_testclient.cpp +++ b/src/modules/extra/m_testclient.cpp @@ -106,4 +106,5 @@ public: } }; -MODULE_INIT(ModuleTestClient); +MODULE_INIT(ModuleTestClient) + diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp index c7ba1b6af..89262817a 100644 --- a/src/modules/extra/m_ziplink.cpp +++ b/src/modules/extra/m_ziplink.cpp @@ -448,5 +448,5 @@ class ModuleZLib : public Module }; -MODULE_INIT(ModuleZLib); +MODULE_INIT(ModuleZLib) |