diff --git a/WatcherAgent/src/main.rs b/WatcherAgent/src/main.rs index 44f3fcc..f4c27d2 100644 --- a/WatcherAgent/src/main.rs +++ b/WatcherAgent/src/main.rs @@ -500,8 +500,6 @@ fn get_cpu_temp() -> Option { if value.CStatus == ERROR_SUCCESS as u32 { return Some(*value.u.doubleValue() as f32); - } else { - return None; } } }