summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/coverage/coverage.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/ext/coverage/coverage.c b/ext/coverage/coverage.c
index a8f6bb5e07e..f46955aae2d 100644
--- a/ext/coverage/coverage.c
+++ b/ext/coverage/coverage.c
@@ -25,15 +25,8 @@ static VALUE
rb_coverage_start(int argc, VALUE *argv, VALUE klass)
{
VALUE coverages, opt;
- int mode, experimental_mode_enabled = 1;
+ int mode;
- {
- const char *e = getenv("COVERAGE_EXPERIMENTAL_MODE");
- if (!e || !*e) experimental_mode_enabled = 0;
- }
-
- if (!experimental_mode_enabled && argc != 0)
- rb_error_arity(argc, 0, 0);
rb_scan_args(argc, argv, "01", &opt);
if (argc == 0) {