urlmon: Initialize PROTOCOLDATA structure before passing it to Switch.

This commit is contained in:
Jacek Caban 2011-06-03 11:40:05 +02:00 committed by Alexandre Julliard
parent c69bb92463
commit 21f74fc1bb
1 changed files with 2 additions and 2 deletions

View File

@ -434,7 +434,7 @@ static ULONG WINAPI Protocol_Release(IInternetProtocol *iface)
static void test_switch_fail(void)
{
IInternetProtocolSink *binding_sink;
PROTOCOLDATA protocoldata;
PROTOCOLDATA protocoldata = {0};
HRESULT hres;
static BOOL tested_switch_fail;
@ -455,7 +455,7 @@ static void test_switch_fail(void)
static DWORD WINAPI thread_proc(PVOID arg)
{
PROTOCOLDATA protocoldata;
PROTOCOLDATA protocoldata = {0};
HRESULT hres;
if(!no_callback) {