Commit 56e76849 authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

taskmgr: Remove unused variable and if check (Coverity).

parent f0763b91
......@@ -127,15 +127,11 @@ TGraphCtrl::~TGraphCtrl()
BOOL GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID)
{
BOOL result = 0;
GraphCtrl_Init(this);
this->m_hParentWnd = hParentWnd;
this->m_hWnd = hWnd;
GraphCtrl_Resize(this);
if (result != 0)
GraphCtrl_InvalidateCtrl(this);
return result;
return 0;
}
void GraphCtrl_SetRange(TGraphCtrl* this, double dLower, double dUpper, int nDecimalPlaces)
......
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