summaryrefslogtreecommitdiff
path: root/xfa/fxfa
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa')
-rw-r--r--xfa/fxfa/parser/xfa_object_imp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/xfa_object_imp.cpp b/xfa/fxfa/parser/xfa_object_imp.cpp
index 91497a50d0..dd5e1b4591 100644
--- a/xfa/fxfa/parser/xfa_object_imp.cpp
+++ b/xfa/fxfa/parser/xfa_object_imp.cpp
@@ -4576,6 +4576,7 @@ int32_t CXFA_Node::InsertChild(int32_t index, CXFA_Node* pNode) {
pNode->m_pParent = this;
FX_BOOL ret = m_pDocument->RemovePurgeNode(pNode);
ASSERT(ret);
+ (void)ret; // Avoid unused variable warning.
if (m_pChild == NULL || index == 0) {
if (index > 0) {
@@ -4625,6 +4626,7 @@ FX_BOOL CXFA_Node::InsertChild(CXFA_Node* pNode, CXFA_Node* pBeforeNode) {
}
FX_BOOL ret = m_pDocument->RemovePurgeNode(pNode);
ASSERT(ret);
+ (void)ret; // Avoid unused variable warning.
int32_t nIndex = -1;
pNode->m_pParent = this;