Resolve control flow warning.

svn:r6658
This commit is contained in:
Nick Mathewson 2006-06-18 20:39:46 +00:00
parent 0932f463ff
commit 5c0d7fb016

View File

@ -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.