mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 11:06:58 +08:00
Don't silently accept an option name mismatch
With this we could have found earlier the futility name option bug! Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -183,7 +183,9 @@ namespace {
|
||||
{
|
||||
std::istringstream ss(it->currentValue);
|
||||
ss >> ret;
|
||||
}
|
||||
} else
|
||||
assert(false);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user