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
fe067c53
Commit
fe067c53
authored
Feb 08, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Don't check return values inside of if(0) (LLVM/Clang).
parent
1a24d1c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ebrowser.c
dlls/shell32/tests/ebrowser.c
+4
-4
No files found.
dlls/shell32/tests/ebrowser.c
View file @
fe067c53
...
@@ -749,8 +749,8 @@ static void test_initialization(void)
...
@@ -749,8 +749,8 @@ static void test_initialization(void)
if
(
0
)
if
(
0
)
{
{
/* Crashes on Windows 7 */
/* Crashes on Windows 7 */
hr
=
IExplorerBrowser_Initialize
(
peb
,
NULL
,
NULL
,
NULL
);
IExplorerBrowser_Initialize
(
peb
,
NULL
,
NULL
,
NULL
);
hr
=
IExplorerBrowser_Initialize
(
peb
,
hwnd
,
NULL
,
NULL
);
IExplorerBrowser_Initialize
(
peb
,
hwnd
,
NULL
,
NULL
);
}
}
ZeroMemory
(
&
rc
,
sizeof
(
RECT
));
ZeroMemory
(
&
rc
,
sizeof
(
RECT
));
...
@@ -1227,7 +1227,7 @@ static void test_Advise(void)
...
@@ -1227,7 +1227,7 @@ static void test_Advise(void)
{
{
/* Using unadvise with a previously unadvised cookie results
/* Using unadvise with a previously unadvised cookie results
* in a crash. */
* in a crash. */
hr
=
IExplorerBrowser_Unadvise
(
peb
,
cookies
[
5
]);
IExplorerBrowser_Unadvise
(
peb
,
cookies
[
5
]);
}
}
/* Remove the rest. */
/* Remove the rest. */
...
@@ -1566,7 +1566,7 @@ static void test_GetCurrentView(void)
...
@@ -1566,7 +1566,7 @@ static void test_GetCurrentView(void)
if
(
0
)
if
(
0
)
{
{
/* Crashes under Windows 7 */
/* Crashes under Windows 7 */
hr
=
IExplorerBrowser_GetCurrentView
(
peb
,
NULL
,
NULL
);
IExplorerBrowser_GetCurrentView
(
peb
,
NULL
,
NULL
);
}
}
hr
=
IExplorerBrowser_GetCurrentView
(
peb
,
NULL
,
(
void
**
)
&
punk
);
hr
=
IExplorerBrowser_GetCurrentView
(
peb
,
NULL
,
(
void
**
)
&
punk
);
ok
(
hr
==
E_FAIL
,
"Got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
E_FAIL
,
"Got 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