[WININET] Fix usage of uninitialized variable

This commit is contained in:
Mark Jansen 2021-02-07 14:00:12 +01:00
parent 560b66a2d5
commit b809275cbe
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -2405,7 +2405,7 @@ static WCHAR *build_wpad_url( const char *hostname, const struct addrinfo *ai )
static WCHAR *detect_proxy_autoconfig_url_dns(void)
{
char *fqdn, *domain, *p;
WCHAR *ret;
WCHAR *ret = NULL;
if (!(fqdn = get_computer_name( ComputerNamePhysicalDnsFullyQualified ))) return NULL;
if (!(domain = get_computer_name( ComputerNamePhysicalDnsDomain )))