From a7a7c1372716c6b7851f1fc452c2d28e76f7297f Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 11 Apr 2008 03:35:37 +0000 Subject: [PATCH] remove unread var --- src/os/darwin/darwin_sigar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index e06c8799..8733518a 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -2024,7 +2024,7 @@ int sigar_file_system_usage_get(sigar_t *sigar, int sigar_cpu_info_list_get(sigar_t *sigar, sigar_cpu_info_list_t *cpu_infos) { - int i, lcpu=1; + int i; unsigned int mhz; int cache_size=SIGAR_FIELD_NOTIMPL; size_t size; @@ -2032,7 +2032,7 @@ int sigar_cpu_info_list_get(sigar_t *sigar, size = sizeof(mhz); - lcpu = sigar_cpu_core_count(sigar); + (void)sigar_cpu_core_count(sigar); #if defined(DARWIN) {