summaryrefslogtreecommitdiff
path: root/ext/coverage
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 00:20:58 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 00:20:58 +0000
commit9b1d8ab7d0ab45a81dcd682accd1b5d3441fec25 (patch)
tree83f3c8238e352a9be2f2a6c802ddad2894a5a873 /ext/coverage
parente44f2b7d10777f1cc7f2573d848040b04923ffc0 (diff)
ext/coverage/coverage.c: remove COVERAGE_EXPERIMENTAL_MODE
A NEWS entry is also added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/coverage')
-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 a8f6bb5..f46955a 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) {