From 3ad645ea17df87005ffe956b8ae85f08af7595d0 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 30 Sep 2020 19:46:44 +0200 Subject: [PATCH] Remove unused variable. --- plocate.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/plocate.cpp b/plocate.cpp index 1f811cb..1c54bf4 100644 --- a/plocate.cpp +++ b/plocate.cpp @@ -320,7 +320,6 @@ void do_search_file(const string &needle, const char *filename) vector> trigrams; for (size_t i = 0; i < needle.size() - 2; ++i) { uint32_t trgm = read_trigram(needle, i); - pair range{ 0, corpus.num_trigrams - 1 }; corpus.find_trigram(trgm, [trgm, &trigrams](const Trigram *trgmptr, size_t len) { if (trgmptr == nullptr) { dprintf("trigram %06x isn't found, we abort the search\n", trgm); -- 2.39.2