From: Francis Dupont Date: Wed, 18 Nov 2015 23:05:08 +0000 (+0100) Subject: [4203] Removed the unreachable exit X-Git-Tag: trac4231_base~37^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e58c97a735c8ce048a01045c67899f458f02ce17;p=thirdparty%2Fkea.git [4203] Removed the unreachable exit --- diff --git a/src/lib/eval/lexer.ll b/src/lib/eval/lexer.ll index ce20911a6a..71d5eaab03 100644 --- a/src/lib/eval/lexer.ll +++ b/src/lib/eval/lexer.ll @@ -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 } }