Skip to content

Commit

Permalink
Merge pull request #531 from lulyon/master
Browse files Browse the repository at this point in the history
remove unused variable
  • Loading branch information
yurymalkov authored Dec 28, 2023
2 parents dbcef01 + 1dcd84b commit 0d9f192
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hnswlib/hnswalg.h
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,6 @@ class HierarchicalNSW : public AlgorithmInterface<dist_t> {

void saveIndex(const std::string &location) {
std::ofstream output(location, std::ios::binary);
std::streampos position;

writeBinaryPOD(output, offsetLevel0_);
writeBinaryPOD(output, max_elements_);
Expand Down

0 comments on commit 0d9f192

Please sign in to comment.