Gerald Pfeifer : winhlp32: Remove variable keyDelta which is not really used from WINHELP_MainWndProc .

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


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat May  1 17:20:09 2010 +0200

winhlp32: Remove variable keyDelta which is not really used from WINHELP_MainWndProc.

---

 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);
 




More information about the wine-cvs mailing list