Remove dead code

Neither of these clauses can ever be reached.

Also attempt to fix travis Windows build
This commit is contained in:
jfreegman 2022-01-01 19:44:11 -05:00
parent 53bd3c86df
commit 7318127dca
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63
3 changed files with 4 additions and 9 deletions

View File

@ -25,6 +25,9 @@ travis_script() {
# its backtrace.
add_flag -gdwarf-2
# Fix invalid register for .seh_savexmm error
add_flag -fno-asynchronous-unwind-tables
docker run \
-e ALLOW_TEST_FAILURE=true \
-e ENABLE_ARCH_i686="$i686" \

View File

@ -1 +1 @@
2b75296c24edbefa40809eeef66fa74791e28da407ee9364fb8e516c2ee882aa /usr/local/bin/tox-bootstrapd
7e3bf0d47ff9440c7dd629b721b19846171c08b68762c043d6ce04b1b73ad8e0 /usr/local/bin/tox-bootstrapd

View File

@ -895,14 +895,6 @@ static int cmp_dht_entry(const void *a, const void *b)
return 1;
}
if (t1 && !t2) {
return -1;
}
if (!t1 && t2) {
return 1;
}
const int close = id_closest(cmp_public_key, entry1.public_key, entry2.public_key);
if (close == 1) {