projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
dae4e7d
)
Don't silently accept an option name mismatch
author
Marco Costalba
<mcostalba@gmail.com>
Sun, 28 Dec 2008 11:37:13 +0000 (12:37 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sun, 28 Dec 2008 11:37:13 +0000 (12:37 +0100)
With this we could have found earlier the futility
name option bug!
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/ucioption.cpp
patch
|
blob
|
history
diff --git
a/src/ucioption.cpp
b/src/ucioption.cpp
index
6788a99
..
e3ebaf1
100644
(file)
--- a/
src/ucioption.cpp
+++ b/
src/ucioption.cpp
@@
-183,7
+183,9
@@
namespace {
{
std::istringstream ss(it->currentValue);
ss >> ret;
- }
+ } else
+ assert(false);
+
return ret;
}