mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Remove dead code
Neither of these clauses can ever be reached. Also attempt to fix travis Windows build
This commit is contained in:
parent
53bd3c86df
commit
7318127dca
|
@ -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" \
|
||||
|
|
|
@ -1 +1 @@
|
|||
2b75296c24edbefa40809eeef66fa74791e28da407ee9364fb8e516c2ee882aa /usr/local/bin/tox-bootstrapd
|
||||
7e3bf0d47ff9440c7dd629b721b19846171c08b68762c043d6ce04b1b73ad8e0 /usr/local/bin/tox-bootstrapd
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user