Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5b25b11b
Commit
5b25b11b
authored
Feb 08, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4/tests: Make sure return values are used (LLVM/Clang).
parent
75e4e607
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cstub.c
dlls/rpcrt4/tests/cstub.c
+2
-0
No files found.
dlls/rpcrt4/tests/cstub.c
View file @
5b25b11b
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment