Fix warning in cli.cpp
This commit is contained in:
parent
7836a637b9
commit
c0cb942ea7
1 changed files with 1 additions and 1 deletions
2
cli.cpp
2
cli.cpp
|
|
@ -932,7 +932,7 @@ void ApplyOptions(DeviceOptions& options, std::vector<RGBController *>& rgb_cont
|
|||
case MODE_COLORS_PER_LED:
|
||||
if(options.colors.size() != 0)
|
||||
{
|
||||
std::size_t last_set_color;
|
||||
std::size_t last_set_color = 0;
|
||||
|
||||
for(std::size_t led_idx = 0; led_idx < device->leds.size(); led_idx++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue