]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Resolve control flow warning.
authorNick Mathewson <nickm@torproject.org>
Sun, 18 Jun 2006 20:39:46 +0000 (20:39 +0000)
committerNick Mathewson <nickm@torproject.org>
Sun, 18 Jun 2006 20:39:46 +0000 (20:39 +0000)
svn:r6658

src/or/buffers.c

index 9b7e33c51a0345360239fa392b93e4135524b651..db740fbce23f36bf8cd34c85098564b0e971690f 100644 (file)
@@ -1339,9 +1339,8 @@ write_to_buf_zlib(buf_t *buf, tor_zlib_state_t *state,
     if (buf->datalen > buf->highwater)
       buf->highwater = buf->datalen;
     buf_total_used += old_avail - avail;
-    if (over)
-      return 0;
   }
+  return 0;
 }
 
 /** Log an error and exit if <b>buf</b> is corrupted.