chore(whitespace): removed some whitespace in state_machine_init
This commit is contained in:
parent
3c647ccfc2
commit
efdd5f29db
|
@ -17,7 +17,6 @@ void internal_state_machine_set_state(StateMachine* self, const State* state) {
|
||||||
StateMachine* state_machine_init(void* data, const State* start_state) {
|
StateMachine* state_machine_init(void* data, const State* start_state) {
|
||||||
StateMachine* self = malloc(sizeof(StateMachine));
|
StateMachine* self = malloc(sizeof(StateMachine));
|
||||||
ASSERT_RETURN(self != NULL, NULL, "Failed to allocate space for StateMachine instance");
|
ASSERT_RETURN(self != NULL, NULL, "Failed to allocate space for StateMachine instance");
|
||||||
|
|
||||||
*self = (StateMachine){
|
*self = (StateMachine){
|
||||||
.current_state = start_state,
|
.current_state = start_state,
|
||||||
.data = data
|
.data = data
|
||||||
|
|
Loading…
Reference in a new issue