mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Merge further cppcheck fixes from Ilya Shipitsin.
This commit is contained in:
@ -548,7 +548,7 @@ SockAddr sk_namelookup(const char *host, char **canonicalname,
|
||||
|
||||
if ((a = p_inet_addr(host)) == (unsigned long) INADDR_NONE) {
|
||||
struct hostent *h = NULL;
|
||||
int err;
|
||||
int err = 0;
|
||||
#ifndef NO_IPV6
|
||||
/*
|
||||
* Use getaddrinfo when it's available
|
||||
|
Reference in New Issue
Block a user