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
161d3322
Commit
161d3322
authored
Apr 15, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Remove unused variables.
parent
6657cfe7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
syslink.c
dlls/comctl32/syslink.c
+3
-5
toolbar.c
dlls/comctl32/toolbar.c
+0
-3
No files found.
dlls/comctl32/syslink.c
View file @
161d3322
...
@@ -967,16 +967,14 @@ static HFONT SYSLINK_SetFont (SYSLINK_INFO *infoPtr, HFONT hFont, BOOL bRedraw)
...
@@ -967,16 +967,14 @@ static HFONT SYSLINK_SetFont (SYSLINK_INFO *infoPtr, HFONT hFont, BOOL bRedraw)
*/
*/
static
LRESULT
SYSLINK_SetText
(
SYSLINK_INFO
*
infoPtr
,
LPCWSTR
Text
)
static
LRESULT
SYSLINK_SetText
(
SYSLINK_INFO
*
infoPtr
,
LPCWSTR
Text
)
{
{
int
textlen
;
/* clear the document */
/* clear the document */
SYSLINK_ClearDoc
(
infoPtr
);
SYSLINK_ClearDoc
(
infoPtr
);
if
(
Text
==
NULL
||
(
textlen
=
lstrlenW
(
Text
))
==
0
)
if
(
Text
==
NULL
||
*
Text
==
0
)
{
{
return
TRUE
;
return
TRUE
;
}
}
/* let's parse the string and create a document */
/* let's parse the string and create a document */
if
(
SYSLINK_ParseText
(
infoPtr
,
Text
)
>
0
)
if
(
SYSLINK_ParseText
(
infoPtr
,
Text
)
>
0
)
{
{
...
...
dlls/comctl32/toolbar.c
View file @
161d3322
...
@@ -5778,7 +5778,6 @@ TOOLBAR_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -5778,7 +5778,6 @@ TOOLBAR_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
POINT
pt
;
POINT
pt
;
INT
nHit
;
INT
nHit
;
INT
nOldIndex
=
-
1
;
INT
nOldIndex
=
-
1
;
BOOL
bSendMessage
=
TRUE
;
NMHDR
hdr
;
NMHDR
hdr
;
NMMOUSE
nmmouse
;
NMMOUSE
nmmouse
;
NMTOOLBARA
nmtb
;
NMTOOLBARA
nmtb
;
...
@@ -5865,8 +5864,6 @@ TOOLBAR_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
...
@@ -5865,8 +5864,6 @@ TOOLBAR_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
if
(
btnPtr
->
fsStyle
&
BTNS_GROUP
)
{
if
(
btnPtr
->
fsStyle
&
BTNS_GROUP
)
{
nOldIndex
=
TOOLBAR_GetCheckedGroupButtonIndex
(
infoPtr
,
nOldIndex
=
TOOLBAR_GetCheckedGroupButtonIndex
(
infoPtr
,
nHit
);
nHit
);
if
(
nOldIndex
==
nHit
)
bSendMessage
=
FALSE
;
if
((
nOldIndex
!=
nHit
)
&&
if
((
nOldIndex
!=
nHit
)
&&
(
nOldIndex
!=
-
1
))
(
nOldIndex
!=
-
1
))
infoPtr
->
buttons
[
nOldIndex
].
fsState
&=
~
TBSTATE_CHECKED
;
infoPtr
->
buttons
[
nOldIndex
].
fsState
&=
~
TBSTATE_CHECKED
;
...
...
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