minor bug fixes

svn path=/trunk/boinc/; revision=643
This commit is contained in:
Eric Heien 2002-11-20 20:19:30 +00:00
parent f9f3aad4a8
commit 1d48a187c1
1 changed files with 1 additions and 3 deletions

View File

@ -369,7 +369,6 @@ double boinc_cpu_time() {
return cpu_secs; return cpu_secs;
#else #else
#ifdef _WIN32 #ifdef _WIN32
//#ifdef WINNT_CLOCK
HANDLE hProcess; HANDLE hProcess;
FILETIME creationTime,exitTime,kernelTime,userTime; FILETIME creationTime,exitTime,kernelTime,userTime;
@ -396,8 +395,7 @@ double boinc_cpu_time() {
return cpu_secs; return cpu_secs;
} }
CloseHandle(hProcess); CloseHandle(hProcess);
// ... fall through
//#endif // WINNT_CLOCK
// TODO: Handle timer wraparound // TODO: Handle timer wraparound
static bool first=true; static bool first=true;
static DWORD first_count = 0; static DWORD first_count = 0;