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

Michael Stefaniuc mstefani at redhat.de
Thu Jan 15 05:02:26 CST 2015


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

diff --git a/dlls/dmband/tests/dmband.c b/dlls/dmband/tests/dmband.c
index cfbf34d..e2ba8d8 100644
--- a/dlls/dmband/tests/dmband.c
+++ b/dlls/dmband/tests/dmband.c
@@ -126,7 +126,7 @@ static void test_COM_bandtrack(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 = IDirectMusicTrack_QueryInterface(dmbt, &IID_IUnknown, (void**)&unk);
     ok(hr == S_OK, "QueryInterface for IID_IUnknown failed: %08x\n", hr);
-- 
1.9.3



More information about the wine-patches mailing list