diff options
Diffstat (limited to 'src')
-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 28b94ec..0df9b72 100644 --- a/src/print_battery_info.c +++ b/src/print_battery_info.c @@ -44,7 +44,7 @@ void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char char consumptionbuf[256]; const char *walk, *last; char *outwalk = buffer; - bool watt_as_unit; + bool watt_as_unit = false; bool colorful_output = false; int full_design = -1, remaining = -1, |