summaryrefslogtreecommitdiff
path: root/ext/json/parser/parser.rl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json/parser/parser.rl')
-rw-r--r--ext/json/parser/parser.rl2
1 files changed, 1 insertions, 1 deletions
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;
}