removed obsolete variable

This commit is contained in:
yrutschle committed 2022-04-08 18:40:39 +02:00
1 parent 4625883b7f
commit 2e0d6b6e8e
3 files changed
+1 -2

No files matched your search

-1
View File
@@ -152,7 +152,6 @@ int hash_insert(hash* h, hash_item new)
if (index < h->floor) index = h->floor; if (index < h->floor) index = h->floor;
hash_item curr_item = gap_get(hash, index); hash_item curr_item = gap_get(hash, index);
int orig_floor = h->floor;
while (curr_item) { while (curr_item) {
if (distance(index, h, curr_item) > distance(index, h, new)) { if (distance(index, h, curr_item) > distance(index, h, new)) {
gap_set(h->data, index, new); gap_set(h->data, index, new);
+1 -1
View File
@@ -1,5 +1,5 @@
CFLAGS=-DHASH_TESTING CFLAGS=-DHASH_TESTING -O2 -Wall
OBJ=../hash.o ../gap.o htest.o OBJ=../hash.o ../gap.o htest.o
htest: $(OBJ) htest: $(OBJ)
BIN
View File
Binary file not shown.