commit 2aa4edb04edb365e3f8123a3c3bc562ee6ec9f20
parent f17242262bd1ca9fede830807b586b3c258e8c56
Author: Joris Vink <joris@coders.se>
Date: Sat, 26 Oct 2013 00:59:03 +0200
Kill unused vars
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/net.c b/src/net.c
@@ -29,9 +29,8 @@ net_init(void)
void
net_send_queue(struct connection *c, u_int8_t *data, u_int32_t len)
{
- u_int8_t *p;
struct netbuf *nb;
- u_int32_t avail, i, payload;
+ u_int32_t avail;
nb = TAILQ_LAST(&(c->send_queue), netbuf_head);
if (nb != NULL && nb->b_len < nb->m_len) {