Michael Stefaniuc : dmcompos/tests: Remove an unused assigment (PVS-Studio ).

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jan 15 15:55:41 CST 2015


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Jan 15 12:08:43 2015 +0100

dmcompos/tests: Remove an unused assigment (PVS-Studio).

---

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

diff --git a/dlls/dmcompos/tests/dmcompos.c b/dlls/dmcompos/tests/dmcompos.c
index aaaa4ac..16dc75e 100644
--- a/dlls/dmcompos/tests/dmcompos.c
+++ b/dlls/dmcompos/tests/dmcompos.c
@@ -218,7 +218,7 @@ static void test_COM_track(void)
         ok(hr == S_OK, "QueryInterface for IID_IPersistStream failed: %08x\n", hr);
         refcount = IPersistStream_AddRef(ps);
         ok(refcount == 4, "refcount == %u, expected 4\n", refcount);
-        refcount = IPersistStream_Release(ps);
+        IPersistStream_Release(ps);
 
         hr = IDirectMusicTrack8_QueryInterface(dmt8, &IID_IUnknown, (void**)&unk);
         ok(hr == S_OK, "QueryInterface for IID_IUnknown failed: %08x\n", hr);




More information about the wine-cvs mailing list