Andrew Talbot : msxml3: Void function should not return a value.

Alexandre Julliard julliard at winehq.org
Fri Nov 14 07:54:47 CST 2008


Module: wine
Branch: master
Commit: ce3af50d101e709e074187e9596983d2620132d2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ce3af50d101e709e074187e9596983d2620132d2

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu Nov 13 22:20:52 2008 +0000

msxml3: Void function should not return a value.

---

 dlls/msxml3/saxreader.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 4a98b4b..5b16663 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -1353,7 +1353,10 @@ static void libxmlCDataBlock(void *ctx, const xmlChar *value, int len)
         hr = ISAXLexicalHandler_startCDATA(This->saxreader->lexicalHandler);
 
     if(FAILED(hr))
-        return format_error_message_from_id(This, hr);
+    {
+        format_error_message_from_id(This, hr);
+        return;
+    }
 
     realLen = This->pParserCtxt->input->cur-beg-3;
     cur = beg;




More information about the wine-cvs mailing list