Commit 21f74fc1 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

urlmon: Initialize PROTOCOLDATA structure before passing it to Switch.

parent c69bb924
......@@ -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) {
......
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