Remove unused variable PageSize which is not really used from PerfDataGetPhysicalMemorySystemCacheK.
Gerald Pfeifer
gerald at pfeifer.com
Sat May 1 09:45:36 CDT 2010
---
programs/taskmgr/perfdata.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/programs/taskmgr/perfdata.c b/programs/taskmgr/perfdata.c
index 91400a5..0f3bf14 100644
--- a/programs/taskmgr/perfdata.c
+++ b/programs/taskmgr/perfdata.c
@@ -807,16 +807,13 @@ ULONG PerfDataGetPhysicalMemoryAvailableK(void)
ULONG PerfDataGetPhysicalMemorySystemCacheK(void)
{
ULONG SystemCache;
- ULONG PageSize;
EnterCriticalSection(&PerfDataCriticalSection);
SystemCache = SystemCacheInfo.CurrentSize;
- PageSize = SystemBasicInfo.uPageSize;
LeaveCriticalSection(&PerfDataCriticalSection);
- /* SystemCache = SystemCache * (PageSize / 1024); */
SystemCache = SystemCache / 1024;
return SystemCache;
--
1.6.6.2
More information about the wine-patches
mailing list