Skip to content

Commit

Permalink
Ensure .has_eager_outputs is zeroed on new states. (msan)
Browse files Browse the repository at this point in the history
  • Loading branch information
silentbicycle committed Oct 10, 2024
1 parent 4a32885 commit 9fcbdf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libfsm/state.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ fsm_addstate(struct fsm *fsm, fsm_state_t *state)
new->visited = 0;
new->epsilons = NULL;
new->edges = NULL;
new->has_eager_outputs = 0;
}

fsm->statecount++;
Expand Down

0 comments on commit 9fcbdf5

Please sign in to comment.