Gerald Pfeifer : taskmgr: Remove two variables which are not really used from ApplicationPageCompareFunc .

Alexandre Julliard julliard at winehq.org
Tue Apr 20 11:32:22 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Mon Apr 19 18:51:00 2010 +0200

taskmgr: Remove two variables which are not really used from ApplicationPageCompareFunc.

---

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

diff --git a/programs/taskmgr/applpage.c b/programs/taskmgr/applpage.c
index b958887..9f05868 100644
--- a/programs/taskmgr/applpage.c
+++ b/programs/taskmgr/applpage.c
@@ -411,9 +411,7 @@ static int CALLBACK ApplicationPageCompareFunc(LPARAM lParam1, LPARAM lParam2, L
 
 static void ApplicationPageOnNotify(WPARAM wParam, LPARAM lParam)
 {
-    int             idctrl;
     LPNMHDR         pnmh;
-    LPNM_LISTVIEW   pnmv;
     LV_DISPINFOW*   pnmdi;
     LPAPPLICATION_PAGE_LIST_ITEM pAPLI;
 
@@ -423,9 +421,7 @@ static void ApplicationPageOnNotify(WPARAM wParam, LPARAM lParam)
     LoadStringW(hInst, IDS_APPLICATION_NOT_RESPONDING, wszNotResponding, sizeof(wszNotResponding)/sizeof(WCHAR));
     LoadStringW(hInst, IDS_APPLICATION_RUNNING, wszRunning, sizeof(wszRunning)/sizeof(WCHAR));
 
-    idctrl = (int) wParam;
     pnmh = (LPNMHDR) lParam;
-    pnmv = (LPNM_LISTVIEW) lParam;
     pnmdi = (LV_DISPINFOW*) lParam;
 
     if (pnmh->hwndFrom == hApplicationPageListCtrl) {




More information about the wine-cvs mailing list