blob: 94208d791a83dc2300355ddbb73df17c7f1b84e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- thermal_daemon-2.1/src/thd_cpu_default_binding.cpp 2020-04-24 23:47:35.000000000 +0100
+++ thermal_daemon-2.1-new/src/thd_cpu_default_binding.cpp 2020-05-27 11:50:39.108623588 +0100
@@ -187,8 +187,8 @@
}
bool cthd_cpu_default_binding::check_cpu_load() {
- unsigned int max_power;
- unsigned int min_power;
+ unsigned int max_power=0;
+ unsigned int min_power=0;
unsigned int power;
power = thd_engine->rapl_power_meter.rapl_action_get_power(PACKAGE,
|