webservices: Do not return uninitialized hr from write_headers_transport.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-09-28 18:45:06 +02:00 committed by Alexandre Julliard
parent af37b187ad
commit 9ef108ad6a
1 changed files with 1 additions and 1 deletions

View File

@ -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) &&