Michael Stefaniuc : oleaut32: Remove an unused assignment (PVS-Studio).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jan 21 15:16:21 CST 2015


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Jan 21 11:59:34 2015 +0100

oleaut32: Remove an unused assignment (PVS-Studio).

---

 dlls/oleaut32/tmarshal.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c
index b812215..89dc894 100644
--- a/dlls/oleaut32/tmarshal.c
+++ b/dlls/oleaut32/tmarshal.c
@@ -198,8 +198,6 @@ _marshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN pUnk) {
         return xbuf_add(buf,(LPBYTE)&xsize,sizeof(xsize));
     }
 
-    hres = E_FAIL;
-
     TRACE("...%s...\n",debugstr_guid(riid));
     
     hres = CreateStreamOnHGlobal(0,TRUE,&pStm);




More information about the wine-cvs mailing list