Module: wine Branch: master Commit: 9e1278dd47ef785ce6dcfbc81760cfbdcba23c07 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9e1278dd47ef785ce6dcfbc817...
Author: Hugh McMaster hugh.mcmaster@outlook.com Date: Wed Jul 12 11:09:30 2017 +0000
regedit: Remove the unused _CmdWndProc callback function from listview.c.
Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/regedit/listview.c | 16 ---------------- 1 file changed, 16 deletions(-)
diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c index 9e271ad..aaec88f 100644 --- a/programs/regedit/listview.c +++ b/programs/regedit/listview.c @@ -362,25 +362,9 @@ HWND StartValueRename(HWND hwndLV) return (HWND)SendMessageW(hwndLV, LVM_EDITLABELW, item, 0); }
-static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) -{ - switch (LOWORD(wParam)) { - /* case ID_FILE_OPEN: */ - /* break; */ - default: - return FALSE; - } - return TRUE; -} - static LRESULT CALLBACK ListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { - case WM_COMMAND: - if (!_CmdWndProc(hWnd, message, wParam, lParam)) { - return CallWindowProcW(g_orgListWndProc, hWnd, message, wParam, lParam); - } - break; case WM_NOTIFY_REFLECT: switch (((LPNMHDR)lParam)->code) {