Fix abundant warnings with GCC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
fb4fb58ffd
commit
8bd30a0b87
@ -672,3 +672,11 @@ void UserConfig::saveConfig()
|
||||
}
|
||||
|
||||
} // saveConfig
|
||||
|
||||
bool UserConfigParams::logMemory() { return (m_verbosity&LOG_MEMORY) == LOG_MEMORY;}
|
||||
|
||||
bool UserConfigParams::logGUI () { return (m_verbosity&LOG_GUI) == LOG_GUI; }
|
||||
|
||||
bool UserConfigParams::logAddons() { return (m_verbosity&LOG_ADDONS) == LOG_ADDONS;}
|
||||
|
||||
bool UserConfigParams::logMisc () { return (m_verbosity&LOG_MISC) == LOG_MISC; }
|
||||
|
@ -499,13 +499,13 @@ namespace UserConfigParams
|
||||
LOG_MISC = 0x0008};
|
||||
|
||||
/** Returns true if the user want additional messages for memory usage. */
|
||||
static bool logMemory() { return (m_verbosity&LOG_MEMORY) == LOG_MEMORY;}
|
||||
bool logMemory();
|
||||
/** Returns true if the user want additional messages related to GUI. */
|
||||
static bool logGUI () { return (m_verbosity&LOG_GUI) == LOG_GUI; }
|
||||
bool logGUI ();
|
||||
/** Returns true if the user want additional messages related to addons. */
|
||||
static bool logAddons() { return (m_verbosity&LOG_ADDONS) == LOG_ADDONS;}
|
||||
bool logAddons();
|
||||
/** Returns true if the user want additional messages for general items. */
|
||||
static bool logMisc () { return (m_verbosity&LOG_MISC) == LOG_MISC; }
|
||||
bool logMisc ();
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user