mirror of
https://github.com/znc/znc.git
synced 2026-08-08 09:52:55 +02:00
Fix some warnings with -pedantic
"invoking macro GLOBALMODULECALL argument 4: empty macro arguments are undefined in ISO C90 and ISO C++98" git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2177 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -989,7 +989,7 @@ bool CZNC::ParseConfig(const CString& sConfig)
|
||||
|
||||
bool CZNC::RehashConfig(CString& sError)
|
||||
{
|
||||
ALLMODULECALL(OnPreRehash(), );
|
||||
ALLMODULECALL(OnPreRehash(), NOTHING);
|
||||
|
||||
// This clears m_msDelUsers
|
||||
HandleUserDeletion();
|
||||
@@ -999,7 +999,7 @@ bool CZNC::RehashConfig(CString& sError)
|
||||
m_msUsers.clear();
|
||||
|
||||
if (DoRehash(sError)) {
|
||||
ALLMODULECALL(OnPostRehash(), );
|
||||
ALLMODULECALL(OnPostRehash(), NOTHING);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user