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:
auria 2011-04-28 17:47:02 +00:00
parent fb4fb58ffd
commit 8bd30a0b87
4 changed files with 14 additions and 6 deletions

View File

@ -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; }

View File

@ -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 ();
}