From 8f6e800277aff8963258535c2827657e187ac4df Mon Sep 17 00:00:00 2001 From: davidpanderson Date: Fri, 29 Jul 2022 22:31:43 -0700 Subject: [PATCH] Win fix --- lib/procinfo_win.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }