Commit 810fbdd2 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

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

parent 5d58b92b
...@@ -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)
......
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment