--------------------- PatchSet 11220 Date: 2007/02/02 18:34:48 Author: hno Branch: HEAD Tag: (none) Log: Get rid of unused body_size/body_buf variables Members: src/client_side.c:1.700->1.701 Index: squid/src/client_side.c =================================================================== RCS file: /cvsroot/squid/squid/src/client_side.c,v retrieving revision 1.700 retrieving revision 1.701 diff -u -r1.700 -r1.701 --- squid/src/client_side.c 2 Feb 2007 17:22:20 -0000 1.700 +++ squid/src/client_side.c 2 Feb 2007 18:34:48 -0000 1.701 @@ -1,6 +1,6 @@ /* - * $Id: client_side.c,v 1.700 2007/02/02 17:22:20 adrian Exp $ + * $Id: client_side.c,v 1.701 2007/02/02 18:34:48 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -2622,8 +2622,6 @@ ConnStateData *conn = http->conn; int fd = conn->fd; HttpReply *rep = NULL; - const char *body_buf = buf; - squid_off_t body_size = size; debug(33, 5) ("clientSendMoreHeaderData: %s, %d bytes\n", http->uri, (int) size); assert(size <= CLIENT_SOCK_SZ); assert(http->request != NULL); @@ -2659,7 +2657,7 @@ MemBuf mb; memBufDefInit(&mb); memBufAppend(&mb, buf, size); - http->out.offset += body_size; + http->out.offset += size; comm_write_mbuf(http->conn->fd, mb, clientWriteComplete, http); return; }