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
ed8ce298
Commit
ed8ce298
authored
Sep 10, 2006
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Sep 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Remove dead code in trayicon.c (Coverity).
parent
b317aeaf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
trayicon.c
programs/taskmgr/trayicon.c
+2
-5
No files found.
programs/taskmgr/trayicon.c
View file @
ed8ce298
...
...
@@ -40,7 +40,7 @@ HICON TrayIcon_GetProcessorUsageIcon(void)
HDC
hScreenDC
=
NULL
;
HDC
hDC
=
NULL
;
HBITMAP
hBitmap
=
NULL
;
HBITMAP
hOldBitmap
=
NULL
;
HBITMAP
hOldBitmap
;
HBITMAP
hBitmapMask
=
NULL
;
ICONINFO
iconInfo
;
ULONG
ProcessorUsage
;
...
...
@@ -108,8 +108,7 @@ HICON TrayIcon_GetProcessorUsageIcon(void)
* old bitmap back.
*/
SelectObject
(
hDC
,
hOldBitmap
);
hOldBitmap
=
NULL
;
iconInfo
.
fIcon
=
TRUE
;
iconInfo
.
xHotspot
=
0
;
iconInfo
.
yHotspot
=
0
;
...
...
@@ -124,8 +123,6 @@ done:
*/
if
(
hScreenDC
)
ReleaseDC
(
NULL
,
hScreenDC
);
if
(
hOldBitmap
)
SelectObject
(
hDC
,
hOldBitmap
);
if
(
hDC
)
DeleteDC
(
hDC
);
if
(
hBitmapBrush
)
...
...
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