summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idlc/source/astexpression.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index 61f2d7fa22bd..cff33d1fd4cf 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -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);
}