changeset 276:3cea9d789cca

Stomp on some minor warnings
author Matt Johnston <matt@ucc.asn.au>
date Wed, 08 Mar 2006 12:09:02 +0000
parents e37b160c414c
children e109fb08b8ee
files common-channel.c rsa.c tcp-accept.c
diffstat 3 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/common-channel.c	Fri Dec 09 06:10:27 2005 +0000
+++ b/common-channel.c	Wed Mar 08 12:09:02 2006 +0000
@@ -181,7 +181,6 @@
 
 	struct Channel *channel;
 	unsigned int i;
-	int ret;
 
 	/* iterate through all the possible channels */
 	for (i = 0; i < ses.chansize; i++) {
--- a/rsa.c	Fri Dec 09 06:10:27 2005 +0000
+++ b/rsa.c	Wed Mar 08 12:09:02 2006 +0000
@@ -264,7 +264,6 @@
 	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);
--- a/tcp-accept.c	Fri Dec 09 06:10:27 2005 +0000
+++ b/tcp-accept.c	Wed Mar 08 12:09:02 2006 +0000
@@ -47,7 +47,7 @@
 
 	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);