summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-09 03:51:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-09 03:51:04 +0000
commit576b245ffae913aec11ae321fe7ddc9c2b688f67 (patch)
tree20e6e8374812e29991c214a2ff0062f1eba00783
parent00f82af5ed3bfafa4667fe7344ad5bfb89738f04 (diff)
Removed useless assertions [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--complex.c2
-rw-r--r--ext/date/date_core.c2
-rw-r--r--rational.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/complex.c b/complex.c
index b7a8963..5a0c8ff 100644
--- a/complex.c
+++ b/complex.c
@@ -2073,8 +2073,6 @@ Init_Complex(void)
#undef rb_intern
#define rb_intern(str) rb_intern_const(str)
- assert(fprintf(stderr, "assert() is now active\n"));
-
id_abs = rb_intern("abs");
id_arg = rb_intern("arg");
id_denominator = rb_intern("denominator");
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 5fc5053..e9f24d3 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -9017,8 +9017,6 @@ Init_date_core(void)
#undef rb_intern
#define rb_intern(str) rb_intern_const(str)
- assert(fprintf(stderr, "assert() is now active\n"));
-
id_cmp = rb_intern("<=>");
id_le_p = rb_intern("<=");
id_ge_p = rb_intern(">=");
diff --git a/rational.c b/rational.c
index 3e43d5e..d782143 100644
--- a/rational.c
+++ b/rational.c
@@ -2594,8 +2594,6 @@ Init_Rational(void)
#undef rb_intern
#define rb_intern(str) rb_intern_const(str)
- assert(fprintf(stderr, "assert() is now active\n"));
-
id_abs = rb_intern("abs");
id_idiv = rb_intern("div");
id_integer_p = rb_intern("integer?");