Commit e58c97a7 authored by Francis Dupont's avatar Francis Dupont
Browse files

[4203] Removed the unreachable exit

parent ab2bcf4e
......@@ -145,7 +145,7 @@ EvalContext::scanStringBegin()
buffer = yy_scan_bytes(string_.c_str(), string_.size());
if (!buffer) {
error("cannot scan string");
exit(EXIT_FAILURE);
// error throws an exception so this can't be reached
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment