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
3391c28d
Commit
3391c28d
authored
Feb 04, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Make sure to use return value (LLVM/Clang).
parent
66ebabae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
imagelist.c
dlls/comctl32/tests/imagelist.c
+7
-8
No files found.
dlls/comctl32/tests/imagelist.c
View file @
3391c28d
...
...
@@ -751,7 +751,6 @@ static INT DIB_GetWidthBytes( int width, int bpp )
case
32
:
words
=
width
;
break
;
default:
words
=
0
;
trace
(
"Unknown depth %d, please report.
\n
"
,
bpp
);
assert
(
0
);
break
;
...
...
@@ -1616,7 +1615,7 @@ static void test_IImageList_Draw(void)
if
(
0
)
{
/* crashes on native */
hr
=
IImageList_Draw
(
imgl
,
NULL
);
IImageList_Draw
(
imgl
,
NULL
);
}
memset
(
&
imldp
,
0
,
sizeof
(
imldp
));
...
...
@@ -1691,8 +1690,8 @@ static void test_IImageList_Merge(void)
if
(
0
)
{
/* null cases that crash on native */
hr
=
IImageList_Merge
(
imgl1
,
-
1
,
NULL
,
0
,
0
,
0
,
&
IID_IImageList
,
(
void
**
)
&
merge
);
hr
=
IImageList_Merge
(
imgl1
,
-
1
,
(
IUnknown
*
)
imgl2
,
0
,
0
,
0
,
&
IID_IImageList
,
NULL
);
IImageList_Merge
(
imgl1
,
-
1
,
NULL
,
0
,
0
,
0
,
&
IID_IImageList
,
(
void
**
)
&
merge
);
IImageList_Merge
(
imgl1
,
-
1
,
(
IUnknown
*
)
imgl2
,
0
,
0
,
0
,
&
IID_IImageList
,
NULL
);
}
/* If himl1 has no images, merge still succeeds */
...
...
@@ -1805,7 +1804,7 @@ static void test_IImageList_Clone(void)
if
(
0
)
{
/* crashes on native */
hr
=
IImageList_Clone
(
imgl
,
&
IID_IImageList
,
NULL
);
IImageList_Clone
(
imgl
,
&
IID_IImageList
,
NULL
);
}
hr
=
IImageList_Clone
(
imgl
,
&
IID_IImageList
,
(
void
**
)
&
imgl2
);
...
...
@@ -1829,7 +1828,7 @@ static void test_IImageList_GetBkColor(void)
if
(
0
)
{
/* crashes on native */
hr
=
IImageList_GetBkColor
(
imgl
,
NULL
);
IImageList_GetBkColor
(
imgl
,
NULL
);
}
hr
=
IImageList_GetBkColor
(
imgl
,
&
color
);
...
...
@@ -1851,7 +1850,7 @@ static void test_IImageList_SetBkColor(void)
if
(
0
)
{
/* crashes on native */
hr
=
IImageList_SetBkColor
(
imgl
,
RGB
(
0
,
0
,
0
),
NULL
);
IImageList_SetBkColor
(
imgl
,
RGB
(
0
,
0
,
0
),
NULL
);
}
hr
=
IImageList_SetBkColor
(
imgl
,
CLR_NONE
,
&
color
);
...
...
@@ -1881,7 +1880,7 @@ static void test_IImageList_GetImageCount(void)
if
(
0
)
{
/* crashes on native */
hr
=
IImageList_GetImageCount
(
imgl
,
NULL
);
IImageList_GetImageCount
(
imgl
,
NULL
);
}
count
=
-
1
;
...
...
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