diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-07 11:00:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-07 11:00:51 -0400 |
commit | 31120ff692cba0c663a144ae9ece4b80ae8877a1 (patch) | |
tree | ae547946015a67253c64310d3f107ca3bdd59c38 /src/or/buffers.c | |
parent | 57822cbbbe85410785716fa62667b674b35602df (diff) | |
download | tor-31120ff692cba0c663a144ae9ece4b80ae8877a1.tar.gz tor-31120ff692cba0c663a144ae9ece4b80ae8877a1.zip |
Remove unused var in write_to_evbuffer_zlib
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 8f5fb1e774..73127490c0 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -2240,7 +2240,6 @@ write_to_evbuffer_zlib(struct evbuffer *buf, tor_zlib_state_t *state, int over = 0, n; struct evbuffer_iovec vec[1]; do { - int need_new_chunk = 0; { size_t cap = data_len / 4; if (cap < 128) @@ -2269,7 +2268,6 @@ write_to_evbuffer_zlib(struct evbuffer *buf, tor_zlib_state_t *state, if (avail) { /* Zlib says we need more room (ZLIB_BUF_FULL). Start a new chunk * automatically, whether were going to or not. */ - need_new_chunk = 1; } break; } |