Gerald Pfeifer : winhlp32: Remove not really used id from WINHELP_IndexDlgProc.

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


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Mon Apr 19 14:41:48 2010 +0200

winhlp32: Remove not really used id from WINHELP_IndexDlgProc.

---

 programs/winhlp32/winhelp.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index c5176ca..ffab618 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -1307,12 +1307,9 @@ static INT_PTR CALLBACK WINHELP_IndexDlgProc(HWND hWnd, UINT msg, WPARAM wParam,
  */
 static INT_PTR CALLBACK WINHELP_SearchDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
 {
-    static struct index_data* id;
-
     switch (msg)
     {
     case WM_INITDIALOG:
-        id = (struct index_data*)((PROPSHEETPAGE*)lParam)->lParam;
         return TRUE;
     case WM_NOTIFY:
 	switch (((NMHDR*)lParam)->code)




More information about the wine-cvs mailing list