From 439bb9e0b2f72cd1ede65b84130fe9ed573f74b0 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Thu, 5 May 2016 00:35:26 -0700 Subject: Avoid unused variable warnings on Linux TBR=tsepez@chromium.org,dsinclair@chromium.org Review URL: https://codereview.chromium.org/1949383002 . --- xfa/fxfa/parser/xfa_object_imp.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3