oleaut32: Remove an unused assignment (PVS-Studio)

Michael Stefaniuc mstefani at redhat.de
Wed Jan 21 04:59:34 CST 2015


---
This patch and the other 4 ones are net new...



 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);
-- 
1.9.3



More information about the wine-patches mailing list