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
810fbdd2
Commit
810fbdd2
authored
Jan 29, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Feb 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Avoid return type when the return value is not used.
parent
5d58b92b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
graphctl.c
programs/taskmgr/graphctl.c
+1
-2
graphctl.h
programs/taskmgr/graphctl.h
+1
-2
No files found.
programs/taskmgr/graphctl.c
View file @
810fbdd2
...
@@ -153,13 +153,12 @@ static void GraphCtrl_Resize(TGraphCtrl* this)
...
@@ -153,13 +153,12 @@ static void GraphCtrl_Resize(TGraphCtrl* this)
this
->
m_dVerticalFactor
=
(
double
)
this
->
m_nPlotHeight
/
this
->
m_dRange
;
this
->
m_dVerticalFactor
=
(
double
)
this
->
m_nPlotHeight
/
this
->
m_dRange
;
}
}
BOOL
GraphCtrl_Create
(
TGraphCtrl
*
this
,
HWND
hWnd
,
HWND
hParentWnd
,
UINT
nID
)
void
GraphCtrl_Create
(
TGraphCtrl
*
this
,
HWND
hWnd
,
HWND
hParentWnd
,
UINT
nID
)
{
{
GraphCtrl_Init
(
this
);
GraphCtrl_Init
(
this
);
this
->
m_hParentWnd
=
hParentWnd
;
this
->
m_hParentWnd
=
hParentWnd
;
this
->
m_hWnd
=
hWnd
;
this
->
m_hWnd
=
hWnd
;
GraphCtrl_Resize
(
this
);
GraphCtrl_Resize
(
this
);
return
0
;
}
}
static
void
GraphCtrl_InvalidateCtrl
(
TGraphCtrl
*
this
)
static
void
GraphCtrl_InvalidateCtrl
(
TGraphCtrl
*
this
)
...
...
programs/taskmgr/graphctl.h
View file @
810fbdd2
...
@@ -89,8 +89,7 @@ extern WNDPROC OldGraphCtrlWndProc;
...
@@ -89,8 +89,7 @@ extern WNDPROC OldGraphCtrlWndProc;
double
GraphCtrl_AppendPoint
(
TGraphCtrl
*
this
,
double
GraphCtrl_AppendPoint
(
TGraphCtrl
*
this
,
double
dNewPoint0
,
double
dNewPoint1
,
double
dNewPoint0
,
double
dNewPoint1
,
double
dNewPoint2
,
double
dNewPoint3
);
double
dNewPoint2
,
double
dNewPoint3
);
BOOL
GraphCtrl_Create
(
TGraphCtrl
*
this
,
HWND
hWnd
,
HWND
hParentWnd
,
void
GraphCtrl_Create
(
TGraphCtrl
*
this
,
HWND
hWnd
,
HWND
hParentWnd
,
UINT
nID
);
UINT
nID
);
void
GraphCtrl_Reset
(
TGraphCtrl
*
this
);
void
GraphCtrl_Reset
(
TGraphCtrl
*
this
);
void
GraphCtrl_SetBackgroundColor
(
TGraphCtrl
*
this
,
COLORREF
void
GraphCtrl_SetBackgroundColor
(
TGraphCtrl
*
this
,
COLORREF
color
);
color
);
...
...
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