Skip to content

Commit 13b2c4f

Browse files
committed
fix: ensure code builds correctly on x86 after changing the neon implementation.
1 parent 045115a commit 13b2c4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/json/ext/generator/generator.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,8 +1369,11 @@ static void generate_json_string(FBuffer *buffer, struct generate_json_data *dat
13691369

13701370
#ifdef ENABLE_SIMD
13711371
search.current_match_index = 0;
1372+
search.returned_from = NULL;
1373+
#ifdef HAVE_NEON_SIMD
13721374
search.matches_mask = 0;
13731375
search.has_matches = 0;
1376+
#endif /* HAVE_NEON_SIMD */
13741377
#endif /* ENABLE_SIMD */
13751378

13761379
switch(rb_enc_str_coderange(obj)) {

0 commit comments

Comments
 (0)