From 3571ae27a240472a208d744a5853642eaebf169d Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Sat, 16 Apr 2011 03:06:38 -0500 Subject: [PATCH] regedit: Remove obsolete comments in InitInstance. --- programs/regedit/main.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/programs/regedit/main.c b/programs/regedit/main.c index f10741b2867..0bc43e0d8fc 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,