mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix return-type gcc warning
find_dl_schedule_and_len caused gcc to spit up with -Werror. Signed-off-by: Sharif Olorin <sio@tesser.org>
This commit is contained in:
parent
12a2321501
commit
90e07ab338
@ -3479,6 +3479,9 @@ find_dl_schedule_and_len(download_status_t *dls, int server)
|
||||
default:
|
||||
tor_assert(0);
|
||||
}
|
||||
|
||||
/* Impossible, but gcc will fail with -Werror without a `return`. */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/** Called when an attempt to download <b>dls</b> has failed with HTTP status
|
||||
|
Loading…
Reference in New Issue
Block a user