diff --git a/util.cpp b/util.cpp index 118fd8b1..2cdfbe0a 100644 --- a/util.cpp +++ b/util.cpp @@ -613,7 +613,7 @@ color_t exp_parser::parsecolor(int prio) { if(qty == 0) throw hr_parse_exception("color parse error"); return res; } - return res; + throw hr_parse_exception("color parse error"); } EX ld parseld(const string& s) {