CCO: Use empty list [] instead of indefined for empty state.components
This commit is contained in:
parent
d8c6cf5e18
commit
f5005c00e0
|
@ -178,7 +178,7 @@ handle_cast('request-components', State = #state{components=CompIn}) ->
|
|||
gen_fsm:send_event(State#state.dha,
|
||||
{'requested-components', CompOut}),
|
||||
NewState = State#state{ism = State#state.ism ++ ISMs,
|
||||
components= undefined}
|
||||
components = []}
|
||||
end,
|
||||
{noreply, NewState};
|
||||
|
||||
|
|
Loading…
Reference in New Issue