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