projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix various small compiler warnings, mostly unused local variables
[u/mdw/putty]
/
ssh.c
diff --git
a/ssh.c
b/ssh.c
index
efc28ef
..
b0f1651
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-507,7
+507,7
@@
static int ssh_rportcmp_ssh2(void *av, void *bv)
{
struct ssh_rportfwd *a = (struct ssh_rportfwd *) av;
struct ssh_rportfwd *b = (struct ssh_rportfwd *) bv;
{
struct ssh_rportfwd *a = (struct ssh_rportfwd *) av;
struct ssh_rportfwd *b = (struct ssh_rportfwd *) bv;
- int i;
+
if (a->sport > b->sport)
return +1;
if (a->sport < b->sport)
if (a->sport > b->sport)
return +1;
if (a->sport < b->sport)