1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-12 18:13:50 -05:00

ssh2userauth: remove an unused variable.

s->done_service_req was set but never read; it's not needed at all in
the current code structure, where the service request has already
happened in an entirely different source file and userauth never has
to track it at all.
This commit is contained in:
Simon Tatham 2018-10-09 18:10:06 +01:00
parent 3f0f6d2013
commit 5ea3a24b0f

View File

@ -38,7 +38,6 @@ struct ssh2_userauth_state {
AUTH_TYPE_KEYBOARD_INTERACTIVE,
AUTH_TYPE_KEYBOARD_INTERACTIVE_QUIET
} type;
int done_service_req;
int need_pw, can_pubkey, can_passwd, can_keyb_inter;
int userpass_ret;
int tried_pubkey_config, done_agent;
@ -205,7 +204,6 @@ static void ssh2_userauth_process_queue(PacketProtocolLayer *ppl)
crBegin(s->crState);
s->done_service_req = FALSE;
#ifndef NO_GSSAPI
s->tried_gssapi = FALSE;
s->tried_gssapi_keyex_auth = FALSE;