summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/opresolv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/opresolv.cpp')
-rw-r--r--src/lib/util/opresolv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/opresolv.cpp b/src/lib/util/opresolv.cpp
index 358305a9576..74595d43abd 100644
--- a/src/lib/util/opresolv.cpp
+++ b/src/lib/util/opresolv.cpp
@@ -316,8 +316,8 @@ void option_resolution::entry::parse_specification(const char *specification)
}
else
{
- // invalid character
- assert(false && "Syntax error in specification");
+ // invalid character - abort because we cannot recover from this syntax error
+ throw false;
}
}