Commit 5b25b11b authored by Austin English's avatar Austin English Committed by Alexandre Julliard

rpcrt4/tests: Make sure return values are used (LLVM/Clang).

parent 75e4e607
...@@ -775,6 +775,7 @@ static void test_CreateStub(IPSFactoryBuffer *ppsf) ...@@ -775,6 +775,7 @@ static void test_CreateStub(IPSFactoryBuffer *ppsf)
vtbl = &create_stub_test_fail_vtbl; vtbl = &create_stub_test_fail_vtbl;
pstub = create_stub(ppsf, &IID_if1, obj, E_NOINTERFACE); pstub = create_stub(ppsf, &IID_if1, obj, E_NOINTERFACE);
ok(pstub == S_OK, "create_stub failed: %u\n", GetLastError());
} }
...@@ -892,6 +893,7 @@ static void test_Connect(IPSFactoryBuffer *ppsf) ...@@ -892,6 +893,7 @@ static void test_Connect(IPSFactoryBuffer *ppsf)
obj = (IUnknown*)&new_vtbl; obj = (IUnknown*)&new_vtbl;
r = IRpcStubBuffer_Connect(pstub, obj); r = IRpcStubBuffer_Connect(pstub, obj);
ok(r == S_OK, "r %08x\n", r);
ok(connect_test_base_Connect_called == 1, "connect_test_bsae_Connect called %d times\n", ok(connect_test_base_Connect_called == 1, "connect_test_bsae_Connect called %d times\n",
connect_test_base_Connect_called); connect_test_base_Connect_called);
ok(connect_test_orig_release_called == 3, "release called %d\n", connect_test_orig_release_called); ok(connect_test_orig_release_called == 3, "release called %d\n", connect_test_orig_release_called);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment