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:
Marco Costalba
2008-12-28 12:37:13 +01:00
parent dae4e7df07
commit aedc6c6f1f
+3 -1
View File
@@ -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;
} }