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
aac4cc8f
Commit
aac4cc8f
authored
Jan 17, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Jan 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf/tests: Return if the constructor fails. This avoids several clang warnings.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5fb2267a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
inputprocessor.c
dlls/msctf/tests/inputprocessor.c
+5
-5
No files found.
dlls/msctf/tests/inputprocessor.c
View file @
aac4cc8f
...
...
@@ -1550,11 +1550,11 @@ static void test_startSession(void)
ITfDocumentMgr_Release
(
dmtest
);
hr
=
TextStoreACP_Constructor
((
IUnknown
**
)
&
ts
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ITfDocumentMgr_CreateContext
(
g_dm
,
cid
,
0
,
(
IUnknown
*
)
ts
,
&
cxt
,
&
editCookie
);
ok
(
SUCCEEDED
(
hr
),
"CreateContext Failed
\n
"
);
}
ok
(
SUCCEEDED
(
hr
),
"Constructor Failed
\n
"
);
if
(
FAILED
(
hr
))
return
;
hr
=
ITfDocumentMgr_CreateContext
(
g_dm
,
cid
,
0
,
(
IUnknown
*
)
ts
,
&
cxt
,
&
editCookie
);
ok
(
SUCCEEDED
(
hr
),
"CreateContext Failed
\n
"
);
hr
=
ITfDocumentMgr_CreateContext
(
g_dm
,
cid
,
0
,
NULL
,
&
cxt2
,
&
editCookie
);
ok
(
SUCCEEDED
(
hr
),
"CreateContext Failed
\n
"
);
...
...
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