diff --git a/lib/procinfo_win.cpp b/lib/procinfo_win.cpp index c1fe19851f..a86726cee4 100644 --- a/lib/procinfo_win.cpp +++ b/lib/procinfo_win.cpp @@ -159,6 +159,5 @@ double total_cpu_time() { ULARGE_INTEGER x; x.LowPart = u.dwLowDateTime; x.HighPart = u.dwHighDateTime; - user = (double)x.QuadPart/1e7; - return user; + return (double)x.QuadPart/1e7; }