projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d7bb18
)
cpu plugin: In cpu.c the variable temp is not used
author
Manuel Luis SanmartĂn Rozada
<manuel.luis@gmail.com>
Fri, 3 Sep 2010 09:23:17 +0000
(11:23 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 3 Sep 2010 09:23:17 +0000
(11:23 +0200)
cc1: warnings being treated as errors
cpu.c: In function 'cpu_read':
cpu.c:566: warning: unused variable 'temp'
src/cpu.c
patch
|
blob
|
history
diff --git
a/src/cpu.c
b/src/cpu.c
index
f89882a
..
306d2e2
100644
(file)
--- 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;