mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 13:17:44 +00: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:
+3
-1
@@ -183,7 +183,9 @@ namespace {
|
|||||||
{
|
{
|
||||||
std::istringstream ss(it->currentValue);
|
std::istringstream ss(it->currentValue);
|
||||||
ss >> ret;
|
ss >> ret;
|
||||||
}
|
} else
|
||||||
|
assert(false);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user