Kaydet (Commit) 0ed451e3 authored tarafından Julien Nabet's avatar Julien Nabet

coverity#704237 Logically dead code

Change-Id: I7a5087b2ac89ee2839f0e0d8450efc7fca1dd68b
üst 165ef402
......@@ -1136,8 +1136,6 @@ AstExprValue* AstExpression::eval_symbol(EvalKind ek)
* OK, now evaluate the constant we just got, to produce its value
*/
pConst = static_cast< AstConstant* >(pDecl);
if (pConst == NULL)
return NULL;
return pConst->getConstValue()->eval_internal(ek);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment