taskmgr: Remove unused variable and if check (Coverity).
This commit is contained in:
parent
f0763b91ab
commit
56e76849b8
|
@ -127,15 +127,11 @@ TGraphCtrl::~TGraphCtrl()
|
||||||
|
|
||||||
BOOL GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID)
|
BOOL GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID)
|
||||||
{
|
{
|
||||||
BOOL result = 0;
|
|
||||||
|
|
||||||
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);
|
||||||
if (result != 0)
|
return 0;
|
||||||
GraphCtrl_InvalidateCtrl(this);
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphCtrl_SetRange(TGraphCtrl* this, double dLower, double dUpper, int nDecimalPlaces)
|
void GraphCtrl_SetRange(TGraphCtrl* this, double dLower, double dUpper, int nDecimalPlaces)
|
||||||
|
|
Loading…
Reference in New Issue