summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 786e28f2fb..f8c268ea37 100644
--- a/re.c
+++ b/re.c
@@ -720,7 +720,7 @@ rb_reg_new_1(klass, s, len, options)
if (options & ~0x3) {
kcode_reset_option();
}
- rb_obj_call_init((VALUE)re);
+ rb_obj_call_init((VALUE)re, 0, 0);
return (VALUE)re;
}