X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/854caca579339f69e71613fc2778f6f777e7271e..63f305ff4329c3d56ad2d5b22dbf20873fd6f627:/ssh.c diff --git a/ssh.c b/ssh.c index 43d642dd..401706c4 100644 --- a/ssh.c +++ b/ssh.c @@ -4164,7 +4164,7 @@ void sshfwd_close(struct ssh_channel *c) if (ssh->state == SSH_STATE_CLOSED) return; - if (c && !c->closes) { + if (!c->closes) { /* * If halfopen is true, we have sent * CHANNEL_OPEN for this channel, but it hasn't even been