summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-26 22:55:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-28 08:12:14 +0200
commit1f8723bf91bd48d432f1d2b930d0908ff28f44df (patch)
tree0c9f38c530c5e0e1aa025c72ca2e60d82761d196 /idlc
parent84001596c9ee3d616ba9f0afffb5b1e959278f6c (diff)
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
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astexpression.cxx3
1 files changed, 0 insertions, 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();