chore(whitespace): removed some whitespace in state_machine_init

This commit is contained in:
Sara 2023-11-22 16:02:16 +01:00
parent 3c647ccfc2
commit efdd5f29db

View file

@ -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