diff options
author | Roger Dingledine <arma@torproject.org> | 2008-01-25 01:34:20 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-01-25 01:34:20 +0000 |
commit | 649a63f435b9b182d78b24b4bd5396fb8b7a03fb (patch) | |
tree | 00f9017286dbb8696c696d3997ad9b4f3d41adb8 /src/or | |
parent | d262fff20d7cf99363e21df98204e9cc530c2c88 (diff) | |
download | tor-649a63f435b9b182d78b24b4bd5396fb8b7a03fb.tar tor-649a63f435b9b182d78b24b4bd5396fb8b7a03fb.tar.gz |
don't pre-initialize some vars that we assign to right after
svn:r13267
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 8e0f9b0e0..fc5669062 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -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(); |