=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: msxml3: Remove dead initialization (clang).

Alexandre Julliard julliard at winehq.org
Tue Jan 31 15:42:49 CST 2017


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Jan 30 23:11:06 2017 +0100

msxml3: Remove dead initialization (clang).

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index d39ed57..ccecaa8 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -829,7 +829,7 @@ static xmlChar* do_get_text(xmlNodePtr node, BOOL trim, DWORD *first, DWORD *las
     case XML_DOCUMENT_FRAG_NODE:
         if (trim && !preserving)
         {
-            xmlChar* ret = str;
+            xmlChar* ret;
             int len;
 
             if (!str)




More information about the wine-cvs mailing list