Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: xfa/fxfa/parser/xfa_object_imp.cpp

Issue 1949383002: Avoid unused variable warnings on Linux (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/xfa_object_imp.cpp
diff --git a/xfa/fxfa/parser/xfa_object_imp.cpp b/xfa/fxfa/parser/xfa_object_imp.cpp
index 91497a50d02a95b262e172966e11f3ce7d8a3734..dd5e1b4591ffa49c3a036ca76236db536e8ff439 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698