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
f5298380
Commit
f5298380
authored
Nov 26, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Remove redundant if check (PVS-Studio).
parent
791d4f9f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
automation.c
dlls/msi/tests/automation.c
+2
-2
No files found.
dlls/msi/tests/automation.c
View file @
f5298380
...
...
@@ -1935,7 +1935,7 @@ static void test_Session(IDispatch *pSession)
hr
=
Session_ModePut
(
pSession
,
MSIRUNMODE_REBOOTNOW
,
TRUE
);
ok
(
hr
==
S_OK
,
"Session_ModePut failed, hresult 0x%08x
\n
"
,
hr
);
if
(
hr
==
DISP_E_EXCEPTION
)
ok_exception
(
hr
,
szModeFlag
);
ok_exception
(
hr
,
szModeFlag
);
hr
=
Session_ModeGet
(
pSession
,
MSIRUNMODE_REBOOTNOW
,
&
bool
);
ok
(
hr
==
S_OK
,
"Session_ModeGet failed, hresult 0x%08x
\n
"
,
hr
);
...
...
@@ -1943,7 +1943,7 @@ static void test_Session(IDispatch *pSession)
hr
=
Session_ModePut
(
pSession
,
MSIRUNMODE_REBOOTNOW
,
FALSE
);
/* set it again so we don't reboot */
ok
(
hr
==
S_OK
,
"Session_ModePut failed, hresult 0x%08x
\n
"
,
hr
);
if
(
hr
==
DISP_E_EXCEPTION
)
ok_exception
(
hr
,
szModeFlag
);
ok_exception
(
hr
,
szModeFlag
);
hr
=
Session_ModePut
(
pSession
,
MSIRUNMODE_MAINTENANCE
,
TRUE
);
ok
(
hr
==
DISP_E_EXCEPTION
,
"Session_ModePut failed, hresult 0x%08x
\n
"
,
hr
);
...
...
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