1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Removed useless assertions [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-03-09 03:51:04 +00:00
parent 00f82af5ed
commit 576b245ffa
3 changed files with 0 additions and 6 deletions

View file

@ -2073,8 +2073,6 @@ Init_Complex(void)
#undef rb_intern #undef rb_intern
#define rb_intern(str) rb_intern_const(str) #define rb_intern(str) rb_intern_const(str)
assert(fprintf(stderr, "assert() is now active\n"));
id_abs = rb_intern("abs"); id_abs = rb_intern("abs");
id_arg = rb_intern("arg"); id_arg = rb_intern("arg");
id_denominator = rb_intern("denominator"); id_denominator = rb_intern("denominator");

View file

@ -9017,8 +9017,6 @@ Init_date_core(void)
#undef rb_intern #undef rb_intern
#define rb_intern(str) rb_intern_const(str) #define rb_intern(str) rb_intern_const(str)
assert(fprintf(stderr, "assert() is now active\n"));
id_cmp = rb_intern("<=>"); id_cmp = rb_intern("<=>");
id_le_p = rb_intern("<="); id_le_p = rb_intern("<=");
id_ge_p = rb_intern(">="); id_ge_p = rb_intern(">=");

View file

@ -2594,8 +2594,6 @@ Init_Rational(void)
#undef rb_intern #undef rb_intern
#define rb_intern(str) rb_intern_const(str) #define rb_intern(str) rb_intern_const(str)
assert(fprintf(stderr, "assert() is now active\n"));
id_abs = rb_intern("abs"); id_abs = rb_intern("abs");
id_idiv = rb_intern("div"); id_idiv = rb_intern("div");
id_integer_p = rb_intern("integer?"); id_integer_p = rb_intern("integer?");