1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 20:12:48 -05:00

Fix a few compiler warnings from MinGW.

A few variables that gcc couldn't tell I'd initialised on all the
important paths, a variable that didn't really need to be there
anyway, and yet another use of GET_WINDOWS_FUNCTION_NO_TYPECHECK.
This commit is contained in:
Simon Tatham
2018-06-03 21:48:08 +01:00
parent 0603256964
commit f4314b8d66
4 changed files with 10 additions and 6 deletions

View File

@ -354,7 +354,7 @@ static void console_data_untrusted(HANDLE hout, const char *data, int len)
int console_get_userpass_input(prompts_t *p)
{
HANDLE hin, hout;
HANDLE hin = INVALID_HANDLE_VALUE, hout = INVALID_HANDLE_VALUE;
size_t curr_prompt;
/*