Module: wine Branch: master Commit: 3571ae27a240472a208d744a5853642eaebf169d URL: http://source.winehq.org/git/wine.git/?a=commit;h=3571ae27a240472a208d744a58... Author: Andrew Nguyen <anguyen(a)codeweavers.com> Date: Sat Apr 16 03:06:38 2011 -0500 regedit: Remove obsolete comments in InitInstance. --- programs/regedit/main.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/programs/regedit/main.c b/programs/regedit/main.c index f10741b..0bc43e0 100644 --- a/programs/regedit/main.c +++ b/programs/regedit/main.c @@ -94,18 +94,6 @@ static BOOL RegisterWindowClasses(HINSTANCE hInstance, ATOM *hFrameWndClass, ATO return TRUE; } -/******************************************************************************* - * - * - * FUNCTION: InitInstance(HANDLE, int) - * - * PURPOSE: Saves instance handle and creates main window - * - * COMMENTS: - * - * In this function, we save the instance handle in a global variable and - * create and display the main program window. - */ static BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { @@ -125,9 +113,6 @@ static BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) HexEdit_Register(); nClipboardFormat = RegisterClipboardFormat(strClipboardFormat); - /* if (nClipboardFormat == 0) { - DWORD dwError = GetLastError(); - } */ hFrameWnd = CreateWindowEx(0, MAKEINTRESOURCE(hFrameWndClass), szTitle, WS_OVERLAPPEDWINDOW | WS_EX_CLIENTEDGE,