mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Appease some verbose GCC warnings.
svn:r5679
This commit is contained in:
parent
2904c6f024
commit
fc850273bd
@ -586,7 +586,7 @@ rep_hist_bandwidth_assess(void)
|
|||||||
*
|
*
|
||||||
* It returns the number of bytes written.
|
* It returns the number of bytes written.
|
||||||
*/
|
*/
|
||||||
size_t
|
static size_t
|
||||||
rep_hist_fill_bandwidth_history(char *buf, size_t len, bw_array_t *b)
|
rep_hist_fill_bandwidth_history(char *buf, size_t len, bw_array_t *b)
|
||||||
{
|
{
|
||||||
char *cp = buf;
|
char *cp = buf;
|
||||||
|
@ -3443,11 +3443,11 @@ update_router_descriptor_cache_downloads(time_t now)
|
|||||||
networkstatus_t *ns = smartlist_get(networkstatus_list, i);
|
networkstatus_t *ns = smartlist_get(networkstatus_list, i);
|
||||||
trusted_dir_server_t *ds =
|
trusted_dir_server_t *ds =
|
||||||
router_get_trusteddirserver_by_digest(ns->identity_digest);
|
router_get_trusteddirserver_by_digest(ns->identity_digest);
|
||||||
|
smartlist_t *dl = download_from[i];
|
||||||
if (!ds) {
|
if (!ds) {
|
||||||
warn(LD_BUG, "Networkstatus with no corresponding authority!");
|
warn(LD_BUG, "Networkstatus with no corresponding authority!");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
smartlist_t *dl = download_from[i];
|
|
||||||
if (! smartlist_len(dl))
|
if (! smartlist_len(dl))
|
||||||
continue;
|
continue;
|
||||||
info(LD_DIR, "Requesting %d descriptors from authority \"%s\"",
|
info(LD_DIR, "Requesting %d descriptors from authority \"%s\"",
|
||||||
|
Loading…
Reference in New Issue
Block a user