mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -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:
@ -291,12 +291,12 @@ static void serial_free(void *handle)
|
||||
static void serial_reconfig(void *handle, Conf *conf)
|
||||
{
|
||||
Serial serial = (Serial) handle;
|
||||
const char *err;
|
||||
|
||||
err = serial_configure(serial, serial->port, conf);
|
||||
serial_configure(serial, serial->port, conf);
|
||||
|
||||
/*
|
||||
* FIXME: what should we do if err returns something?
|
||||
* FIXME: what should we do if that call returned a non-NULL error
|
||||
* message?
|
||||
*/
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user