Commit d742f6e8 authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

wininet: Avoid empty initializer braces.

parent 5408c5ea
......@@ -522,11 +522,12 @@ static void free_global_proxy( void )
static BOOL parse_proxy_url( proxyinfo_t *info, const WCHAR *url )
{
static const WCHAR fmt[] = {'%','s',':','%','u',0};
WCHAR hostname[INTERNET_MAX_HOST_NAME_LENGTH] = {};
WCHAR username[INTERNET_MAX_USER_NAME_LENGTH] = {};
WCHAR password[INTERNET_MAX_PASSWORD_LENGTH] = {};
WCHAR hostname[INTERNET_MAX_HOST_NAME_LENGTH];
WCHAR username[INTERNET_MAX_USER_NAME_LENGTH];
WCHAR password[INTERNET_MAX_PASSWORD_LENGTH];
URL_COMPONENTSW uc;
hostname[0] = username[0] = password[0] = 0;
memset( &uc, 0, sizeof(uc) );
uc.dwStructSize = sizeof(uc);
uc.lpszHostName = hostname;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment