removed obsolete variable

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

1
hash.c
View File

@ -152,7 +152,6 @@ int hash_insert(hash* h, hash_item new)
if (index < h->floor) index = h->floor;
hash_item curr_item = gap_get(hash, index);
int orig_floor = h->floor;
while (curr_item) {
if (distance(index, h, curr_item) > distance(index, h, new)) {
gap_set(h->data, index, new);

View File

@ -1,5 +1,5 @@
CFLAGS=-DHASH_TESTING
CFLAGS=-DHASH_TESTING -O2 -Wall
OBJ=../hash.o ../gap.o htest.o
htest: $(OBJ)

Binary file not shown.