Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d4796304
Commit
d4796304
authored
Nov 11, 2006
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Remove deadcode (Coverity).
parent
131d9964
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
imagelist.c
dlls/comctl32/imagelist.c
+1
-7
No files found.
dlls/comctl32/imagelist.c
View file @
d4796304
...
...
@@ -1980,7 +1980,7 @@ HIMAGELIST WINAPI ImageList_Read (LPSTREAM pstm)
{
ILHEAD
ilHead
;
HIMAGELIST
himl
;
HBITMAP
hbmColor
=
0
,
hbmMask
=
0
;
HBITMAP
hbmColor
=
0
;
int
i
;
TRACE
(
"%p
\n
"
,
pstm
);
...
...
@@ -1995,7 +1995,6 @@ HIMAGELIST WINAPI ImageList_Read (LPSTREAM pstm)
himl
=
ImageList_Create
(
ilHead
.
cx
,
ilHead
.
cy
,
ilHead
.
flags
,
ilHead
.
cCurImage
,
ilHead
.
cMaxImage
);
if
(
!
himl
)
{
DeleteObject
(
hbmColor
);
DeleteObject
(
hbmMask
);
return
NULL
;
}
if
(
!
_read_bitmap
(
himl
,
himl
->
hdcImage
,
pstm
,
ilHead
.
flags
&
~
ILC_MASK
))
{
...
...
@@ -2012,11 +2011,6 @@ HIMAGELIST WINAPI ImageList_Read (LPSTREAM pstm)
SelectObject
(
himl
->
hdcImage
,
hbmColor
);
DeleteObject
(
himl
->
hbmImage
);
himl
->
hbmImage
=
hbmColor
;
if
(
hbmMask
){
SelectObject
(
himl
->
hdcMask
,
hbmMask
);
DeleteObject
(
himl
->
hbmMask
);
himl
->
hbmMask
=
hbmMask
;
}
himl
->
cCurImage
=
ilHead
.
cCurImage
;
himl
->
cMaxImage
=
ilHead
.
cMaxImage
;
...
...
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