X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/69ca43667f80e20f819563c74e2513cdffca41d8..3ab798412da7dbfc26af43a06e92c13a7b9abf43:/ssh.c diff --git a/ssh.c b/ssh.c index 95fa2f2c..c3c3f117 100644 --- a/ssh.c +++ b/ssh.c @@ -9131,10 +9131,9 @@ static void ssh2_msg_debug(Ssh ssh, struct Packet *pktin) /* log the debug message */ char *msg; int msglen; - int always_display; - /* XXX maybe we should actually take notice of this */ - always_display = ssh2_pkt_getbool(pktin); + /* XXX maybe we should actually take notice of the return value */ + ssh2_pkt_getbool(pktin); ssh_pkt_getstring(pktin, &msg, &msglen); logeventf(ssh, "Remote debug message: %.*s", msglen, msg);