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
5e92277f
Commit
5e92277f
authored
Feb 10, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Don't check return values inside of if(0) (LLVM/Clang).
parent
641d7484
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
automation.c
dlls/msi/tests/automation.c
+4
-4
No files found.
dlls/msi/tests/automation.c
View file @
5e92277f
...
...
@@ -661,10 +661,10 @@ static void test_dispatch(void)
/* Test invoking this function (without parameters passed) */
if
(
0
)
/* All of these crash MSI on Windows XP */
{
hr
=
IDispatch_Invoke
(
pInstaller
,
dispid
,
&
IID_NULL
,
LOCALE_NEUTRAL
,
DISPATCH_METHOD
,
NULL
,
NULL
,
NULL
,
NULL
);
hr
=
IDispatch_Invoke
(
pInstaller
,
dispid
,
&
IID_NULL
,
LOCALE_NEUTRAL
,
DISPATCH_METHOD
,
NULL
,
NULL
,
&
excepinfo
,
NULL
);
IDispatch_Invoke
(
pInstaller
,
dispid
,
&
IID_NULL
,
LOCALE_NEUTRAL
,
DISPATCH_METHOD
,
NULL
,
NULL
,
NULL
,
NULL
);
IDispatch_Invoke
(
pInstaller
,
dispid
,
&
IID_NULL
,
LOCALE_NEUTRAL
,
DISPATCH_METHOD
,
NULL
,
NULL
,
&
excepinfo
,
NULL
);
VariantInit
(
&
varresult
);
hr
=
IDispatch_Invoke
(
pInstaller
,
dispid
,
&
IID_NULL
,
LOCALE_NEUTRAL
,
DISPATCH_METHOD
,
NULL
,
&
varresult
,
&
excepinfo
,
NULL
);
IDispatch_Invoke
(
pInstaller
,
dispid
,
&
IID_NULL
,
LOCALE_NEUTRAL
,
DISPATCH_METHOD
,
NULL
,
&
varresult
,
&
excepinfo
,
NULL
);
}
/* Try with NULL params */
...
...
@@ -2289,7 +2289,7 @@ static void test_Installer_Products(BOOL bProductInstalled)
if
(
0
)
/* Crashes on Windows XP */
{
/* IEnumVARIANT::Clone, NULL pointer */
hr
=
IEnumVARIANT_Clone
(
pEnum
,
NULL
);
IEnumVARIANT_Clone
(
pEnum
,
NULL
);
}
/* IEnumVARIANT::Clone */
...
...
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