Index: xfa/fxfa/fm2js/xfa_fmparse.cpp |
diff --git a/xfa/fxfa/fm2js/xfa_fmparse.cpp b/xfa/fxfa/fm2js/xfa_fmparse.cpp |
index efbf224a40260a22b0a22ae2f1e546ce4cfe3bb1..5fd6c06613c98c229f522fb15efc817f4375283b 100644 |
--- a/xfa/fxfa/fm2js/xfa_fmparse.cpp |
+++ b/xfa/fxfa/fm2js/xfa_fmparse.cpp |
@@ -555,10 +555,8 @@ CXFA_FMSimpleExpression* CXFA_FMParse::ParsePostExpression( |
if (m_pToken->m_type != TOKrparen) { |
pArray.reset(new CFX_ArrayTemplate<CXFA_FMSimpleExpression*>()); |
while (m_pToken->m_type != TOKrparen) { |
- CXFA_FMSimpleExpression* e = ParseSimpleExpression(); |
- if (e) { |
- pArray->Add(e); |
- } |
+ if (CXFA_FMSimpleExpression* expr = ParseSimpleExpression()) |
+ pArray->Add(expr); |
if (m_pToken->m_type == TOKcomma) { |
NextToken(); |
} else if (m_pToken->m_type == TOKeof || |