From c77e8f73397613f278eaeef2cae44debc6a684c8 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 29 Jul 2014 08:55:54 -0700 Subject: Remove a few unused variables, functions, and tables. Found by clang's -Wunused-variable, -Wunused-function, -Wunused-const-variable. BUG=none R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/404653005 --- core/src/fxcrt/fx_xml_parser.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/src/fxcrt/fx_xml_parser.cpp') diff --git a/core/src/fxcrt/fx_xml_parser.cpp b/core/src/fxcrt/fx_xml_parser.cpp index d41880a6c4..05fc7d5fbe 100644 --- a/core/src/fxcrt/fx_xml_parser.cpp +++ b/core/src/fxcrt/fx_xml_parser.cpp @@ -863,9 +863,6 @@ void CXML_AttrMap::RemoveAll() if (!m_pMap) { return; } - for (int i = 0; i < m_pMap->GetSize(); i ++) { - CXML_AttrItem& item = (*m_pMap)[i]; - } m_pMap->RemoveAll(); delete m_pMap; m_pMap = NULL; -- cgit v1.2.3