Fix bug in IsProbablyDuplicate()

Closes #1179
This commit is contained in:
Jack Grigg 2016-08-06 15:26:22 +12:00
parent fa19e1b357
commit 30bd297920
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ bool IsProbablyDuplicate(std::shared_ptr<eh_trunc> indices, size_t lenIndices)
{
assert(lenIndices <= MAX_INDICES);
bool checked_index[MAX_INDICES] = {false};
bool count_checked = 0;
int count_checked = 0;
for (int z = 0; z < lenIndices; z++) {
// Skip over indices we have already paired
if (!checked_index[z]) {