https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b809275cbe974261264e017012c558a05843197d
commit b809275cbe974261264e017012c558a05843197d Author: Mark Jansen <[email protected]> AuthorDate: Sun Feb 7 14:00:12 2021 +0100 Commit: Mark Jansen <[email protected]> CommitDate: Sun Feb 7 14:00:12 2021 +0100 [WININET] Fix usage of uninitialized variable --- dll/win32/wininet/internet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/wininet/internet.c b/dll/win32/wininet/internet.c index 9db4c9f3764..a0444e07c3d 100644 --- a/dll/win32/wininet/internet.c +++ b/dll/win32/wininet/internet.c @@ -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 )))
