wininet: Avoid empty initializer braces.

This commit is contained in:
Thomas Faber 2015-02-14 09:27:12 +01:00 committed by Alexandre Julliard
parent 5408c5ea34
commit d742f6e821
1 changed files with 4 additions and 3 deletions

View File

@ -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;