summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_object_imp.cpp
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-05-05 00:35:26 -0700
committerWei Li <weili@chromium.org>2016-05-05 00:35:26 -0700
commit439bb9e0b2f72cd1ede65b84130fe9ed573f74b0 (patch)
tree3193b1fed1f4f071ab98ed8efd18646f83c1d1ce /xfa/fxfa/parser/xfa_object_imp.cpp
parent5fe7ae721a2e843007de69fcf76c252da942440f (diff)
downloadpdfium-439bb9e0b2f72cd1ede65b84130fe9ed573f74b0.tar.xz
Avoid unused variable warnings on Linux
TBR=tsepez@chromium.org,dsinclair@chromium.org Review URL: https://codereview.chromium.org/1949383002 .
Diffstat (limited to 'xfa/fxfa/parser/xfa_object_imp.cpp')
-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;