2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[4203] Removed the unreachable exit

This commit is contained in:
Francis Dupont
2015-11-19 00:05:08 +01:00
parent ab2bcf4e9b
commit e58c97a735

View File

@@ -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
}
}