mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
removed obsolete variable
This commit is contained in:
1 parent
4625883b7f
commit
2e0d6b6e8e
3 files changed
+1
-2
No files matched your search
@@ -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
@@ -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)
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user