Don't silently accept an option name mismatch
[stockfish] / src / ucioption.cpp
index 6788a996dd3393b80480449522c4932c294f08ac..e3ebaf1f88830dc9acb90e137600e2533906702d 100644 (file)
@@ -183,7 +183,9 @@ namespace {
       {
           std::istringstream ss(it->currentValue);
           ss >> ret;
-      }
+      } else
+          assert(false);
+
       return ret;
   }