mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Resolve control flow warning.
svn:r6658
This commit is contained in:
parent
0932f463ff
commit
5c0d7fb016
@ -1339,9 +1339,8 @@ write_to_buf_zlib(buf_t *buf, tor_zlib_state_t *state,
|
|||||||
if (buf->datalen > buf->highwater)
|
if (buf->datalen > buf->highwater)
|
||||||
buf->highwater = buf->datalen;
|
buf->highwater = buf->datalen;
|
||||||
buf_total_used += old_avail - avail;
|
buf_total_used += old_avail - avail;
|
||||||
if (over)
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Log an error and exit if <b>buf</b> is corrupted.
|
/** Log an error and exit if <b>buf</b> is corrupted.
|
||||||
|
Loading…
Reference in New Issue
Block a user