taskmgr: Avoid return type when the return value is not used.

This commit is contained in:
André Hentschel 2014-01-29 22:25:09 +01:00 committed by Alexandre Julliard
parent 5d58b92b73
commit 810fbdd222
2 changed files with 2 additions and 4 deletions

View File

@ -153,13 +153,12 @@ static void GraphCtrl_Resize(TGraphCtrl* this)
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);
this->m_hParentWnd = hParentWnd;
this->m_hWnd = hWnd;
GraphCtrl_Resize(this);
return 0;
}
static void GraphCtrl_InvalidateCtrl(TGraphCtrl* this)

View File

@ -89,8 +89,7 @@ extern WNDPROC OldGraphCtrlWndProc;
double GraphCtrl_AppendPoint(TGraphCtrl* this,
double dNewPoint0, double dNewPoint1,
double dNewPoint2, double dNewPoint3);
BOOL GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd,
UINT nID);
void GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID);
void GraphCtrl_Reset(TGraphCtrl* this);
void GraphCtrl_SetBackgroundColor(TGraphCtrl* this, COLORREF
color);