Commit 9ef108ad authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

webservices: Do not return uninitialized hr from write_headers_transport.

parent af37b187
......@@ -451,7 +451,7 @@ static HRESULT write_headers( struct msg *msg, const WS_XML_STRING *ns_env, cons
static HRESULT write_headers_transport( struct msg *msg, const WS_XML_STRING *ns_env, WS_XML_WRITER *writer )
{
static const WS_XML_STRING prefix = {1, (BYTE *)"s"}, header = {6, (BYTE *)"Header"};
HRESULT hr;
HRESULT hr = S_OK;
ULONG i;
if ((msg->header_count || !msg->action.length) &&
......
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