Index: core/src/fpdftext/fpdf_text_int.cpp |
diff --git a/core/src/fpdftext/fpdf_text_int.cpp b/core/src/fpdftext/fpdf_text_int.cpp |
index 70178a54b0a875086bcc3578f7cd4412e0c870f5..bce9015a293c1cb09a6c2c243731f0b62dfab81a 100644 |
--- a/core/src/fpdftext/fpdf_text_int.cpp |
+++ b/core/src/fpdftext/fpdf_text_int.cpp |
@@ -1364,8 +1364,6 @@ void CPDF_TextPage::CloseTempLine() |
} |
} |
} |
- int ntext = m_TextBuf.GetSize(); |
- ntext = m_charList.GetSize(); |
order.RemoveAll(); |
m_TempCharList.RemoveAll(); |
m_TempTextBuf.Delete(0, m_TempTextBuf.GetLength()); |
@@ -2510,6 +2508,7 @@ void CPDF_TextPageFind::ExtractFindWhat(const CFX_WideString& findwhat) |
} |
} |
int pos = 0; |
+ // TODO(tsepez): unused bLastIgnore is suspicious. |
FX_BOOL bLastIgnore = FALSE; |
while(pos < csWord.GetLength()) { |
CFX_WideString curStr = csWord.Mid(pos, 1); |