mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:29:50 +00:00
Delete unused function left behind in e9361705ae
e9361705ae cleaned up our config setup, but left behind isOverriden,
triggering a compilation warning.
Reported by: Imarok
This was SVN commit r23885.
This commit is contained in:
@@ -132,15 +132,6 @@ void ConvertTLBs(const ScriptInterface& scriptInterface, JS::MutableHandleValue
|
||||
}
|
||||
#endif
|
||||
|
||||
// The Set* functions will override the default behaviour, unless the user
|
||||
// has explicitly set a config variable to override that.
|
||||
// (TODO: This is an ugly abuse of the config system)
|
||||
static bool IsOverridden(const char* setting)
|
||||
{
|
||||
EConfigNamespace ns = g_ConfigDB.GetValueNamespace(CFG_COMMAND, setting);
|
||||
return !(ns == CFG_LAST || ns == CFG_DEFAULT);
|
||||
}
|
||||
|
||||
void SetDisableAudio(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), bool disabled)
|
||||
{
|
||||
g_DisableAudio = disabled;
|
||||
|
||||
Reference in New Issue
Block a user