summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/print_cpu_temperature.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_cpu_temperature.c b/src/print_cpu_temperature.c
index 0e02070..8778dad 100644
--- a/src/print_cpu_temperature.c
+++ b/src/print_cpu_temperature.c
@@ -35,9 +35,9 @@ static char *thermal_zone;
*
*/
void print_cpu_temperature_info(yajl_gen json_gen, char *buffer, int zone, const char *path, const char *format, int max_threshold) {
+ char *outwalk = buffer;
#ifdef THERMAL_ZONE
const char *walk;
- char *outwalk = buffer;
bool colorful_output = false;
if (path == NULL)