From a94401836772e70fadbcbf82607fcf0c74a6c158 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 30 May 2014 13:27:48 -0700 Subject: [PATCH] [hardening] must return from non void function --- src/style/style_parser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/style/style_parser.cpp b/src/style/style_parser.cpp index 61f3c444c..0e914964e 100644 --- a/src/style/style_parser.cpp +++ b/src/style/style_parser.cpp @@ -751,4 +751,6 @@ Value StyleParser::parseValue(JSVal value) { throw Style::exception("value cannot be an object or array"); return false; } + throw Style::exception("unhandled value type in style"); + return false; }