diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-10-29 15:21:38 -0400 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-10-30 10:13:49 +0900 |
| commit | e077be119bbc8270aa603724303a93ff8b426c34 (patch) | |
| tree | f4f4ea6ee99a633f1992a59fa773f04a1029a341 | |
| parent | f2e51146f81997613b59f368bac0a12ec38dff98 (diff) | |
[ruby/json] Remove double semicolon at end of line in parser
https://github.com/ruby/json/commit/f6d6ca3c17
| -rw-r--r-- | ext/json/parser/parser.c | 2 | ||||
| -rw-r--r-- | ext/json/parser/parser.rl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/json/parser/parser.c b/ext/json/parser/parser.c index ce40ddd442..368d539bcd 100644 --- a/ext/json/parser/parser.c +++ b/ext/json/parser/parser.c @@ -1940,7 +1940,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self) source = convert_encoding(StringValue(source)); StringValue(source); json->len = RSTRING_LEN(source); - json->source = RSTRING_PTR(source);; + json->source = RSTRING_PTR(source); json->Vsource = source; return self; } diff --git a/ext/json/parser/parser.rl b/ext/json/parser/parser.rl index 430f3c45b3..c627014593 100644 --- a/ext/json/parser/parser.rl +++ b/ext/json/parser/parser.rl @@ -835,7 +835,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self) source = convert_encoding(StringValue(source)); StringValue(source); json->len = RSTRING_LEN(source); - json->source = RSTRING_PTR(source);; + json->source = RSTRING_PTR(source); json->Vsource = source; return self; } |
