Skip to content

Commit f6d6ca3

Browse files
committed
Remove double semicolon at end of line in parser
1 parent d54063a commit f6d6ca3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/json/ext/parser/parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)
19401940
source = convert_encoding(StringValue(source));
19411941
StringValue(source);
19421942
json->len = RSTRING_LEN(source);
1943-
json->source = RSTRING_PTR(source);;
1943+
json->source = RSTRING_PTR(source);
19441944
json->Vsource = source;
19451945
return self;
19461946
}

ext/json/ext/parser/parser.rl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)
835835
source = convert_encoding(StringValue(source));
836836
StringValue(source);
837837
json->len = RSTRING_LEN(source);
838-
json->source = RSTRING_PTR(source);;
838+
json->source = RSTRING_PTR(source);
839839
json->Vsource = source;
840840
return self;
841841
}

0 commit comments

Comments
 (0)