From 1f8723bf91bd48d432f1d2b930d0908ff28f44df Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 26 Sep 2015 22:55:04 +0200 Subject: [PATCH] m_exprValue cannot be non-null here ...as, like the other private AstExpression::eval_* functions, eval_un_op is only called from AstExpression::evaluate if m_exprValue is null Change-Id: I812ea249d33a72f95b9692dc72ba6631ffbd4884 --- idlc/source/astexpression.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx index 3927a3f888eb..3798b7ac04e9 100644 --- a/idlc/source/astexpression.cxx +++ b/idlc/source/astexpression.cxx @@ -1002,9 +1002,6 @@ AstExprValue* AstExpression::eval_bit_op() AstExprValue* AstExpression::eval_un_op() { - if (m_exprValue != NULL) - return m_exprValue; - if (m_subExpr1 == NULL) return NULL; m_subExpr1->evaluate();