Skip to content

Commit 1dcd84b

Browse files
authored
remove unused variable
std::streampos position is never used.
1 parent 3f34296 commit 1dcd84b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hnswlib/hnswalg.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,6 @@ class HierarchicalNSW : public AlgorithmInterface<dist_t> {
684684

685685
void saveIndex(const std::string &location) {
686686
std::ofstream output(location, std::ios::binary);
687-
std::streampos position;
688687

689688
writeBinaryPOD(output, offsetLevel0_);
690689
writeBinaryPOD(output, max_elements_);

0 commit comments

Comments
 (0)