diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-03-08 12:09:02 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-03-08 12:09:02 +0000 |
commit | 1dc06524446b6ed8fa152ff99b0d5763214737f2 (patch) | |
tree | 81ab8ce28ceea7957b4f47b10fd7fd950983c01b | |
parent | bf045a056471c685ebe09e2ab35dcc3430f737bd (diff) |
Stomp on some minor warnings
--HG--
extra : convert_revision : 4cbdd6e0a0d8c061075b9ed7609a06c4547f67d3
-rw-r--r-- | common-channel.c | 1 | ||||
-rw-r--r-- | rsa.c | 1 | ||||
-rw-r--r-- | tcp-accept.c | 2 |
3 files changed, 1 insertions, 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++) { @@ -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); |