fixed uninitialiazed effect

master
bernhard.trinnes 2020-08-11 12:29:11 +02:00
parent ea8f37ef83
commit 9dbb943fab
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ void IntegrationPluginLifx::executeAction(ThingActionInfo *info)
}
QString effectString = action.param(colorBulbEffectActionEffectParamTypeId).value().toString();
int requestId;
LifxCloud::Effect effect;
LifxCloud::Effect effect = LifxCloud::EffectNone;
if (effectString == "None") {
effect = LifxCloud::EffectNone;
} else if (effectString == "Breathe") {