Gerald Pfeifer : taskmgr: Remove variable CommitChargeLimit which is not really used from Graph_DrawMemUsageHistoryGraph .

Alexandre Julliard julliard at winehq.org
Mon May 3 11:54:08 CDT 2010


Module: wine
Branch: master
Commit: e9c1750204645617c97de21a03d15b30d646f27e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e9c1750204645617c97de21a03d15b30d646f27e

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat May  1 16:42:24 2010 +0200

taskmgr: Remove variable CommitChargeLimit which is not really used from Graph_DrawMemUsageHistoryGraph.

---

 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




More information about the wine-cvs mailing list