No need to initialize static bools to false
[collectd.git] / src / cpu.c
index 42fcbed..a0e00d7 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
@@ -196,9 +196,9 @@ static size_t global_cpu_num = 0;
 
 static bool report_by_cpu = 1;
 static bool report_by_state = 1;
-static bool report_percent = 0;
-static bool report_num_cpu = 0;
-static bool report_guest = 0;
+static bool report_percent;
+static bool report_num_cpu;
+static bool report_guest;
 static bool subtract_guest = 1;
 
 static const char *config_keys[] = {"ReportByCpu",      "ReportByState",