From 01365c6bf8334326e5c304faa0d5b9deac39a0ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Luis=20Sanmart=C3=ADn=20Rozada?= Date: Fri, 3 Sep 2010 11:23:17 +0200 Subject: [PATCH] cpu plugin: In cpu.c the variable temp is not used cc1: warnings being treated as errors cpu.c: In function 'cpu_read': cpu.c:566: warning: unused variable 'temp' --- src/cpu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cpu.c b/src/cpu.c index f89882a3..306d2e2f 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -563,7 +563,6 @@ static int cpu_read (void) u_longlong_t *cpu_total = NULL; perfstat_id_t id; perfstat_cpu_t *pcpu; - u_longlong_t *temp; int numcpu; int i; -- 2.11.0