summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/print_battery_info.c2
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,