From: <ps...@us...> - 2009-03-21 09:32:52
|
Revision: 1436 http://znc.svn.sourceforge.net/znc/?rev=1436&view=rev Author: psychon Date: 2009-03-21 09:32:50 +0000 (Sat, 21 Mar 2009) Log Message: ----------- Some minor stuff, again found via icc's "remarks" Modified Paths: -------------- trunk/Modules.cpp trunk/modules/admin.cpp trunk/modules/fail2ban.cpp trunk/znc.cpp Modified: trunk/Modules.cpp =================================================================== --- trunk/Modules.cpp 2009-03-20 10:00:31 UTC (rev 1435) +++ trunk/Modules.cpp 2009-03-21 09:32:50 UTC (rev 1436) @@ -807,7 +807,7 @@ bool bLoaded; try { bLoaded = pModule->OnLoad(sArgs, sRetMsg); - } catch (CModule::EModException e) { + } catch (CModule::EModException) { bLoaded = false; sRetMsg = "Caught an exception"; } Modified: trunk/modules/admin.cpp =================================================================== --- trunk/modules/admin.cpp 2009-03-20 10:00:31 UTC (rev 1435) +++ trunk/modules/admin.cpp 2009-03-21 09:32:50 UTC (rev 1436) @@ -19,7 +19,7 @@ }; template<class T, std::size_t N> -array_size_helper<N> array_size(T (&)[N]) { +static array_size_helper<N> array_size(T (&)[N]) { return array_size_helper<N>(); } Modified: trunk/modules/fail2ban.cpp =================================================================== --- trunk/modules/fail2ban.cpp 2009-03-20 10:00:31 UTC (rev 1435) +++ trunk/modules/fail2ban.cpp 2009-03-21 09:32:50 UTC (rev 1436) @@ -72,4 +72,4 @@ TCacheMap<CString> m_Cache; }; -GLOBALMODULEDEFS(CFailToBanMod, "Block IPs for some time after a failed login"); +GLOBALMODULEDEFS(CFailToBanMod, "Block IPs for some time after a failed login") Modified: trunk/znc.cpp =================================================================== --- trunk/znc.cpp 2009-03-20 10:00:31 UTC (rev 1435) +++ trunk/znc.cpp 2009-03-21 09:32:50 UTC (rev 1436) @@ -23,7 +23,7 @@ CUser *m_pUser; CChan *m_pChan; }; -}; +} CZNC::CZNC() { if (!InitCsocket()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |