[ruby/json] Remove double semicolon at end of line in parser

https://github.com/ruby/json/commit/f6d6ca3c17
This commit is contained in:
Peter Zhu 2024-10-29 15:21:38 -04:00 committed by Hiroshi SHIBATA
parent f2e51146f8
commit e077be119b
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}