From f6823936fa2ebfc4372e44499237235ae17f0bd9 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Sun, 24 Aug 2025 15:22:31 +0200 Subject: [ruby/json] parser.c: Remove useless dereference https://github.com/ruby/json/commit/2d63648c0a --- ext/json/parser/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/json/parser/parser.c b/ext/json/parser/parser.c index 1e6ee753f0..496a769206 100644 --- a/ext/json/parser/parser.c +++ b/ext/json/parser/parser.c @@ -975,7 +975,7 @@ static inline bool FORCE_INLINE string_scan(JSON_ParserState *state) if (RB_UNLIKELY(string_scan_table[(unsigned char)*state->cursor])) { return 1; } - *state->cursor++; + state->cursor++; } return 0; } -- cgit v1.2.3