mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Remove unused var in write_to_evbuffer_zlib
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user