diff options
author | Dave Jones <davej@redhat.com> | 2008-12-24 00:10:38 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2008-12-24 00:10:38 -0500 |
commit | fb1741bfba765f6762bab504e0989806e2937401 (patch) | |
tree | 4014ed90276f04cefcea70bb45bb03d230fccb7f /bench | |
parent | cd6e1434062d4244c52e675f7725df230ef79b6f (diff) |
Fix up warnings. Add -Werror to catch new ones.
The lsmsr ones are kind of brute-force fixes because I'm lazy right now.
We should possibly just use unsigned long longs everywhere, instead
of all those u_int64_t's.
Diffstat (limited to 'bench')
-rw-r--r-- | bench/benchmarks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/benchmarks.c b/bench/benchmarks.c index c8e1d8b..f4c094c 100644 --- a/bench/benchmarks.c +++ b/bench/benchmarks.c @@ -12,7 +12,7 @@ #include <sys/types.h> #include <unistd.h> -void show_benchmarks(struct cpudata *cpu) +void show_benchmarks(struct cpudata *cpu __attribute__((unused))) { int tmp = 0; |