mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +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:
parent
dae4e7df07
commit
aedc6c6f1f
1 changed files with 3 additions and 1 deletions
|
@ -183,7 +183,9 @@ namespace {
|
|||
{
|
||||
std::istringstream ss(it->currentValue);
|
||||
ss >> ret;
|
||||
}
|
||||
} else
|
||||
assert(false);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue