diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2013-02-23 18:05:08 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-02-23 18:05:08 +0100 |
commit | 4a282a49787466099ceba018d9575ac21213e966 (patch) | |
tree | d5a39d270e8a6cda58f91d56ca3dde4907a1354c /src/print_battery_info.c | |
parent | d52b9f82ca2f1f1e91ac2be812218f9cbdf0459a (diff) |
battery: initialize colorful_output to false
Diffstat (limited to 'src/print_battery_info.c')
-rw-r--r-- | src/print_battery_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |