mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
don't pre-initialize some vars that we assign to right after
svn:r13267
This commit is contained in:
parent
d262fff20d
commit
649a63f435
@ -2141,7 +2141,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
|
||||
char *url, *url_mem, *header;
|
||||
or_options_t *options = get_options();
|
||||
time_t if_modified_since = 0;
|
||||
int deflated = 0;
|
||||
int deflated;
|
||||
size_t url_len;
|
||||
|
||||
/* We ignore the body of a GET request. */
|
||||
@ -2329,7 +2329,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
|
||||
/* XXXX If-modified-since is only implemented for the current
|
||||
* consensus: that's probably fine, since it's the only vote document
|
||||
* people fetch much.*/
|
||||
int current = 1;
|
||||
int current;
|
||||
ssize_t body_len = 0;
|
||||
ssize_t estimated_len = 0;
|
||||
smartlist_t *items = smartlist_create();
|
||||
|
Loading…
Reference in New Issue
Block a user