mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-28 03:57:02 +02:00
Remove unused variable
This commit is contained in:
parent
ad66acdd79
commit
1711b3848f
@ -221,13 +221,6 @@ int main(int argc, char * argv[])
|
||||
else if(s->isNull())
|
||||
s->Integer() = defaultValue;
|
||||
};
|
||||
auto setSettingString = [](std::string key, std::string arg, std::string defaultValue) {
|
||||
Settings s = settings.write(vstd::split(key, "/"));
|
||||
if(::vm.count(arg))
|
||||
s->String() = ::vm[arg].as<std::string>();
|
||||
else if(s->isNull())
|
||||
s->String() = defaultValue;
|
||||
};
|
||||
|
||||
setSettingBool("session/onlyai", "onlyAI");
|
||||
if(vm.count("headless"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user