mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-12 15:17:14 +03:00
removed obsolete variable
This commit is contained in:
parent
4625883b7f
commit
2e0d6b6e8e
1
hash.c
1
hash.c
@ -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);
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
CFLAGS=-DHASH_TESTING
|
||||
CFLAGS=-DHASH_TESTING -O2 -Wall
|
||||
OBJ=../hash.o ../gap.o htest.o
|
||||
|
||||
htest: $(OBJ)
|
||||
|
BIN
hashtest/htest
BIN
hashtest/htest
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user