From 1dc06524446b6ed8fa152ff99b0d5763214737f2 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 8 Mar 2006 12:09:02 +0000 Subject: [PATCH] Stomp on some minor warnings --HG-- extra : convert_revision : 4cbdd6e0a0d8c061075b9ed7609a06c4547f67d3 --- common-channel.c | 1 - rsa.c | 1 - tcp-accept.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/common-channel.c b/common-channel.c index 7e8d428..e5d8c27 100644 --- a/common-channel.c +++ b/common-channel.c @@ -181,7 +181,6 @@ void channelio(fd_set *readfds, fd_set *writefds) { struct Channel *channel; unsigned int i; - int ret; /* iterate through all the possible channels */ for (i = 0; i < ses.chansize; i++) { diff --git a/rsa.c b/rsa.c index cc16fa0..005e4ca 100644 --- a/rsa.c +++ b/rsa.c @@ -264,7 +264,6 @@ void buf_put_rsa_sign(buffer* buf, rsa_key *key, const unsigned char* data, DEF_MP_INT(rsa_tmp1); DEF_MP_INT(rsa_tmp2); DEF_MP_INT(rsa_tmp3); - unsigned char *tmpbuf; TRACE(("enter buf_put_rsa_sign")) dropbear_assert(key != NULL); diff --git a/tcp-accept.c b/tcp-accept.c index 90d72b3..ffb175e 100644 --- a/tcp-accept.c +++ b/tcp-accept.c @@ -47,7 +47,7 @@ static void tcp_acceptor(struct Listener *listener, int sock) { int fd; struct sockaddr_storage addr; - int len; + socklen_t len; char ipstring[NI_MAXHOST], portstring[NI_MAXSERV]; struct TCPListener *tcpinfo = (struct TCPListener*)(listener->typedata);