From: Marc Fournier Date: Mon, 1 Dec 2014 08:07:30 +0000 (+0100) Subject: cpu: remove legacy assignment to undefiend variable X-Git-Tag: collectd-5.3.2~19 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f5ea03c55ef747c63a258e7abdbbf07a3b1bbf7;p=collectd.git cpu: remove legacy assignment to undefiend variable This finishes up the cleanup done by f7100301fa. It also fixes #828 (build error on Mac OS). Many thanks to @njh for pointing that out ! --- diff --git a/src/cpu.c b/src/cpu.c index 1c4e5f6b..6753397c 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -156,8 +156,6 @@ static int init (void) DEBUG ("host_processors returned %i %s", (int) cpu_list_len, cpu_list_len == 1 ? "processor" : "processors"); INFO ("cpu plugin: Found %i processor%s.", (int) cpu_list_len, cpu_list_len == 1 ? "" : "s"); - - cpu_temp_retry_max = 86400 / CDTIME_T_TO_TIME_T (plugin_get_interval ()); /* #endif PROCESSOR_CPU_LOAD_INFO */ #elif defined(HAVE_LIBKSTAT)