From: Manuel Luis SanmartĂ­n Rozada Date: Fri, 3 Sep 2010 09:23:17 +0000 (+0200) Subject: cpu plugin: In cpu.c the variable temp is not used X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=01365c6bf8334326e5c304faa0d5b9deac39a0ad;p=collectd.git 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' --- 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;