taskmgr: Remove variable CommitChargeLimit which is not really used from Graph_DrawMemUsageHistoryGraph.
This commit is contained in:
parent
8283920268
commit
e9c1750204
|
@ -320,7 +320,6 @@ static void Graph_DrawMemUsageGraph(HDC hDC, HWND hWnd)
|
|||
static void Graph_DrawMemUsageHistoryGraph(HDC hDC, HWND hWnd)
|
||||
{
|
||||
RECT rcClient;
|
||||
ULONGLONG CommitChargeLimit;
|
||||
int i;
|
||||
static int offset = 0;
|
||||
|
||||
|
@ -337,11 +336,6 @@ static void Graph_DrawMemUsageHistoryGraph(HDC hDC, HWND hWnd)
|
|||
*/
|
||||
FillSolidRect(hDC, &rcClient, RGB(0, 0, 0));
|
||||
|
||||
/*
|
||||
* Get the memory usage
|
||||
*/
|
||||
CommitChargeLimit = (ULONGLONG)PerfDataGetCommitChargeLimitK();
|
||||
|
||||
/*
|
||||
* Draw the graph background
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue