From 073743170c757fed66936a14b2d3d7e8a46e94e7 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 1 May 2010 17:20:09 +0200 Subject: [PATCH] winhlp32: Remove variable keyDelta which is not really used from WINHELP_MainWndProc. --- programs/winhlp32/winhelp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c index ffab6186749..b6da3fa7010 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);