aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ts_fsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ts_fsm.c')
-rw-r--r--lib/ts_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ts_fsm.c b/lib/ts_fsm.c
index 5696a35..1f8dfea 100644
--- a/lib/ts_fsm.c
+++ b/lib/ts_fsm.c
@@ -141,7 +141,7 @@ static unsigned int fsm_find(struct ts_config *conf, struct ts_state *state)
struct ts_fsm_token *cur = NULL, *next;
unsigned int match_start, block_idx = 0, tok_idx;
unsigned block_len = 0, strict, consumed = state->offset;
- const u8 *data;
+ const u8 *data = NULL;
#define GET_NEXT_BLOCK() \
({ consumed += block_idx; \