]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: completely remove trashlen
authorWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2012 12:27:23 +0000 (13:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2012 12:29:39 +0000 (13:29 +0100)
Commit c919dc66 did not remove the trashlen assigment.

src/haproxy.c

index e2520328b6f91df9aba647a4466570ad3d724c42..7606cec805dc26b4456bae521b53d9091dc3a97e 100644 (file)
@@ -156,7 +156,6 @@ static int oldpids_sig; /* use USR1 or TERM */
 
 /* this is used to drain data, and as a temporary buffer for sprintf()... */
 char *trash = NULL;
-int trashlen = BUFSIZE;
 
 /* this buffer is always the same size as standard buffers and is used for
  * swapping data inside a buffer.