]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4203] Removed the unreachable exit
authorFrancis Dupont <fdupont@isc.org>
Wed, 18 Nov 2015 23:05:08 +0000 (00:05 +0100)
committerFrancis Dupont <fdupont@isc.org>
Wed, 18 Nov 2015 23:05:08 +0000 (00:05 +0100)
src/lib/eval/lexer.ll

index ce20911a6a1a93fcd823c20b623df1799a11b946..71d5eaab031912f8219317c294a02bf35abc53d8 100644 (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
     }
 }