From: Michael Stapelberg Date: Sat, 23 Feb 2013 17:05:08 +0000 (+0100) Subject: battery: initialize colorful_output to false X-Git-Tag: 2.7~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a282a49787466099ceba018d9575ac21213e966;p=i3%2Fi3status battery: initialize colorful_output to false --- 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,