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:
parent
af37b187ad
commit
9ef108ad6a
@ -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 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"};
|
static const WS_XML_STRING prefix = {1, (BYTE *)"s"}, header = {6, (BYTE *)"Header"};
|
||||||
HRESULT hr;
|
HRESULT hr = S_OK;
|
||||||
ULONG i;
|
ULONG i;
|
||||||
|
|
||||||
if ((msg->header_count || !msg->action.length) &&
|
if ((msg->header_count || !msg->action.length) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user