Remove variable CommitChargeLimit which is not really used from Graph_DrawMemUsageHistoryGraph.

Gerald Pfeifer gerald at pfeifer.com
Sat May 1 09:42:24 CDT 2010


---
 programs/taskmgr/graph.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/programs/taskmgr/graph.c b/programs/taskmgr/graph.c
index 5e26ead..84a7307 100644
--- a/programs/taskmgr/graph.c
+++ b/programs/taskmgr/graph.c
@@ -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;
     
@@ -338,11 +337,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
      *
      * Draw the horizontal bars
-- 
1.6.6.2



More information about the wine-patches mailing list