[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r13267: don't pre-initialize some vars that we assign to right after (tor/trunk/src/or)
Author: arma
Date: 2008-01-24 20:34:20 -0500 (Thu, 24 Jan 2008)
New Revision: 13267
Modified:
tor/trunk/src/or/directory.c
Log:
don't pre-initialize some vars that we assign to right after
Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c 2008-01-24 23:59:31 UTC (rev 13266)
+++ tor/trunk/src/or/directory.c 2008-01-25 01:34:20 UTC (rev 13267)
@@ -2141,7 +2141,7 @@
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 @@
/* 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();