From 4a282a49787466099ceba018d9575ac21213e966 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 23 Feb 2013 18:05:08 +0100 Subject: [PATCH] battery: initialize colorful_output to false --- src/print_battery_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/print_battery_info.c b/src/print_battery_info.c index d4b091b..95237d9 100644 --- a/src/print_battery_info.c +++ b/src/print_battery_info.c @@ -42,7 +42,7 @@ void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char const char *walk, *last; char *outwalk = buffer; bool watt_as_unit; - bool colorful_output; + bool colorful_output = false; int full_design = -1, remaining = -1, present_rate = -1, -- 2.39.5