Fixed some "unused xxx" warnings + include autoconfig

This commit is contained in:
Jean-Francois Dockes
2015-10-07 08:30:49 +02:00
parent d942242047
commit 3b18facc16
13 changed files with 8 additions and 30 deletions
-1
View File
@@ -106,7 +106,6 @@ bool DocSeqFiltered::getDoc(int idx, Rcl::Doc &doc, string *)
// Loop until we get enough docs
Rcl::Doc tdoc;
int i = 0;
while (idx >= (int)m_dbindices.size()) {
if (!m_seq->getDoc(backend_idx, tdoc))
return false;
-10
View File
@@ -39,16 +39,6 @@ using std::set;
#include "cancelcheck.h"
#include "unacpp.h"
// For debug printing
static string vecStringToString(const vector<string>& t)
{
string sterms;
for (vector<string>::const_iterator it = t.begin(); it != t.end(); it++) {
sterms += "[" + *it + "] ";
}
return sterms;
}
struct MatchEntry {
// Start/End byte offsets in the document text
pair<int, int> offs;