]> git.sur5r.net Git - i3/i3status/commitdiff
battery: initialize colorful_output to false
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 23 Feb 2013 17:05:08 +0000 (18:05 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 23 Feb 2013 17:05:08 +0000 (18:05 +0100)
src/print_battery_info.c

index d4b091b2e7b4b1f8187969bc87508be39af2299c..95237d9ea60fff68687378a3fdd1e1996d6116c5 100644 (file)
@@ -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;
         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,
         int full_design = -1,
             remaining = -1,
             present_rate = -1,