[4/4] webservices: Fix uninitialized variable in WsWriteArray.

Sebastian Lackner sebastian at fds-team.de
Wed Mar 8 18:07:11 CST 2017


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

Fixes multiple test failures.

 dlls/webservices/writer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/webservices/writer.c b/dlls/webservices/writer.c
index f47baa6c28f..4736c07e0b3 100644
--- a/dlls/webservices/writer.c
+++ b/dlls/webservices/writer.c
@@ -2599,7 +2599,7 @@ HRESULT WINAPI WsWriteArray( WS_XML_WRITER *handle, const WS_XML_STRING *localna
     struct writer *writer = (struct writer *)handle;
     WS_TYPE type;
     ULONG type_size, i;
-    HRESULT hr;
+    HRESULT hr = S_OK;
 
     TRACE( "%p %s %s %u %p %u %u %u %p\n", handle, debugstr_xmlstr(localname), debugstr_xmlstr(ns),
            value_type, array, size, offset, count, error );
-- 
2.11.0



More information about the wine-patches mailing list