Remove variable keyDelta which is not really used from WINHELP_MainWndProc.

Gerald Pfeifer gerald at pfeifer.com
Sat May 1 10:20:09 CDT 2010


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

diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index ffab618..b6da3fa 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -1335,7 +1335,6 @@ static LRESULT CALLBACK WINHELP_MainWndProc(HWND hWnd, UINT msg, WPARAM wParam,
 {
     WINHELP_WINDOW *win;
     WINHELP_BUTTON *button;
-    INT  keyDelta;
     HWND hTextWnd;
     LRESULT ret;
 
@@ -1449,7 +1448,6 @@ static LRESULT CALLBACK WINHELP_MainWndProc(HWND hWnd, UINT msg, WPARAM wParam,
         break;
 
     case WM_KEYDOWN:
-        keyDelta = 0;
         win = (WINHELP_WINDOW*) GetWindowLongPtr(hWnd, 0);
         hTextWnd = GetDlgItem(win->hMainWnd, CTL_ID_TEXT);
 
-- 
1.6.6.2



More information about the wine-patches mailing list