forked from lix-project/lix
Config::handleUnknownSettings(): Remove unused 'fatal' argument
This commit is contained in:
parent
75a1d96cfd
commit
ed73d40c3b
2 changed files with 3 additions and 6 deletions
|
@ -47,12 +47,9 @@ void Config::addSetting(AbstractSetting * setting)
|
|||
}
|
||||
}
|
||||
|
||||
void Config::handleUnknownSettings(bool fatal)
|
||||
void Config::handleUnknownSettings()
|
||||
{
|
||||
for (auto & s : extras)
|
||||
if (fatal)
|
||||
throw UsageError("unknown setting '%s%'", s.first);
|
||||
else
|
||||
warn("unknown setting '%s'", s.first);
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
|
||||
void addSetting(AbstractSetting * setting);
|
||||
|
||||
void handleUnknownSettings(bool fatal = false);
|
||||
void handleUnknownSettings();
|
||||
|
||||
StringMap getSettings(bool overridenOnly = false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue