Code cleanup

This commit is contained in:
pagefault
2001-07-23 01:59:00 +00:00
parent 40a5390032
commit e4f05aac39
2 changed files with 2 additions and 4 deletions

View File

@@ -586,11 +586,11 @@ int RegisterWinClass(void)
WNDCLASS wcl; WNDCLASS wcl;
wcl.style = CS_OWNDC | CS_HREDRAW | CS_VREDRAW | CS_NOCLOSE ; wcl.style = CS_OWNDC | CS_HREDRAW | CS_VREDRAW | CS_NOCLOSE;
wcl.cbClsExtra = 0; wcl.cbClsExtra = 0;
wcl.cbWndExtra = 0; wcl.cbWndExtra = 0;
wcl.hIcon = LoadIcon(NULL,IDI_APPLICATION); wcl.hIcon = LoadIcon(NULL,IDI_APPLICATION);
wcl.hCursor = NULL; wcl.hCursor = NULL;
wcl.hInstance = hInst; wcl.hInstance = hInst;
wcl.lpfnWndProc = (WNDPROC)Main_Proc; wcl.lpfnWndProc = (WNDPROC)Main_Proc;
wcl.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH); wcl.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);

View File

@@ -324,7 +324,6 @@ DWORD ZFileFindEnd() // for compatibility with windows later
DWORD GetTime() DWORD GetTime()
{ {
DWORD value; DWORD value;
struct tm *newtime; struct tm *newtime;
time_t long_time; time_t long_time;
@@ -340,7 +339,6 @@ DWORD GetTime()
DWORD GetDate() DWORD GetDate()
{ {
DWORD value; DWORD value;
struct tm *newtime; struct tm *newtime;
time_t long_time; time_t long_time;