diff --git a/hnswlib/hnswalg.h b/hnswlib/hnswalg.h index e269ae69..f516df59 100644 --- a/hnswlib/hnswalg.h +++ b/hnswlib/hnswalg.h @@ -684,7 +684,6 @@ class HierarchicalNSW : public AlgorithmInterface { void saveIndex(const std::string &location) { std::ofstream output(location, std::ios::binary); - std::streampos position; writeBinaryPOD(output, offsetLevel0_); writeBinaryPOD(output, max_elements_);