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
6c1d5f0b
Commit
6c1d5f0b
authored
Apr 11, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhlp32: Remove unused assignments (Coverity).
parent
a69c488f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
winhelp.c
programs/winhlp32/winhelp.c
+0
-3
No files found.
programs/winhlp32/winhelp.c
View file @
6c1d5f0b
...
...
@@ -1131,7 +1131,6 @@ static LRESULT CALLBACK WINHELP_HistoryWndProc(HWND hWnd, UINT msg, WPARAM wPara
win
->
hHistoryWnd
=
hWnd
;
break
;
case
WM_CREATE
:
win
=
(
WINHELP_WINDOW
*
)
GetWindowLongPtrW
(
hWnd
,
0
);
hDc
=
GetDC
(
hWnd
);
GetTextMetricsW
(
hDc
,
&
tm
);
GetWindowRect
(
hWnd
,
&
r
);
...
...
@@ -1146,7 +1145,6 @@ static LRESULT CALLBACK WINHELP_HistoryWndProc(HWND hWnd, UINT msg, WPARAM wPara
ReleaseDC
(
hWnd
,
hDc
);
break
;
case
WM_LBUTTONDOWN
:
win
=
(
WINHELP_WINDOW
*
)
GetWindowLongPtrW
(
hWnd
,
0
);
hDc
=
GetDC
(
hWnd
);
GetTextMetricsW
(
hDc
,
&
tm
);
i
=
HIWORD
(
lParam
)
/
tm
.
tmHeight
;
...
...
@@ -1156,7 +1154,6 @@ static LRESULT CALLBACK WINHELP_HistoryWndProc(HWND hWnd, UINT msg, WPARAM wPara
break
;
case
WM_PAINT
:
hDc
=
BeginPaint
(
hWnd
,
&
ps
);
win
=
(
WINHELP_WINDOW
*
)
GetWindowLongPtrW
(
hWnd
,
0
);
GetTextMetricsW
(
hDc
,
&
tm
);
for
(
i
=
0
;
i
<
Globals
.
history
.
index
;
i
++
)
...
...
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