diff --git a/Cargo.toml b/Cargo.toml index c012bb8..9645199 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ atty = "0.2.2" libc = "0.2" [target.'cfg(target_os = "windows")'.dependencies] -winapi = { version = "0.3.4", features = [ "processthreadsapi", "minwindef", "winnt"] } +winapi = { version = "0.3.4", features = [ "processthreadsapi", "minwindef"] } [dependencies.clap] version = "2" diff --git a/src/hyperfine/timer/cputimer.rs b/src/hyperfine/timer/cputimer.rs index 0ecdc33..7f5086c 100644 --- a/src/hyperfine/timer/cputimer.rs +++ b/src/hyperfine/timer/cputimer.rs @@ -50,6 +50,7 @@ fn get_cpu_times() -> CPUTimes { // Winapi reports times as per 100 nanosecond const HUNDRED_NS_PER_MS: i64 = 10; + let mut _ctime = FILETIME { dwLowDateTime: 0, dwHighDateTime: 0,