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:
wraitii
2020-07-25 07:05:36 +00:00
parent 1368f87590
commit eb0d89e220
-9
View File
@@ -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;