liblights: remove unused variable
authorStricted <info@stricted.net>
Tue, 28 Aug 2018 05:29:24 +0000 (07:29 +0200)
committerKevin Haggerty <haggertk@lineageos.org>
Sat, 8 Sep 2018 02:06:09 +0000 (04:06 +0200)
Change-Id: I2ce04975d4ff0a796e9f7c531f37c32ff88eaf10

liblights/lights.c

index 875cf656f42d15b245bb96037b04a259254ca349..92034eaf7bd49de1f12ec1727a6ecb2295977559 100644 (file)
@@ -178,7 +178,6 @@ static int write_leds(const struct led_config *led)
 
     char blink[32];
     int count, err;
-    int color;
 
     if (led == NULL)
         led = &led_off;