diff --git a/faiss/IndexIVFPQ.cpp b/faiss/IndexIVFPQ.cpp index 5d02c5ee0e..0b7f4d05d4 100644 --- a/faiss/IndexIVFPQ.cpp +++ b/faiss/IndexIVFPQ.cpp @@ -1046,7 +1046,7 @@ struct IVFPQScannerT : QueryTables { const uint8_t* codes, SearchResultType& res) const { int ht = ivfpq.polysemous_ht; - size_t n_hamming_pass = 0, nup = 0; + size_t n_hamming_pass = 0; int code_size = pq.code_size;