зеркало из https://github.com/github/ruby.git
Remove unused constant.
This constant isn't used, so lets remove it.
This commit is contained in:
Родитель
9026e12f93
Коммит
1d564acedc
|
@ -15,7 +15,7 @@ static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject,
|
||||||
#endif
|
#endif
|
||||||
mFloat, mString, mString_Extend,
|
mFloat, mString, mString_Extend,
|
||||||
mTrueClass, mFalseClass, mNilClass, eGeneratorError,
|
mTrueClass, mFalseClass, mNilClass, eGeneratorError,
|
||||||
eNestingError, CRegexp_MULTILINE,
|
eNestingError,
|
||||||
i_SAFE_STATE_PROTOTYPE;
|
i_SAFE_STATE_PROTOTYPE;
|
||||||
|
|
||||||
static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,
|
static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,
|
||||||
|
@ -1466,7 +1466,6 @@ void Init_generator(void)
|
||||||
mNilClass = rb_define_module_under(mGeneratorMethods, "NilClass");
|
mNilClass = rb_define_module_under(mGeneratorMethods, "NilClass");
|
||||||
rb_define_method(mNilClass, "to_json", mNilClass_to_json, -1);
|
rb_define_method(mNilClass, "to_json", mNilClass_to_json, -1);
|
||||||
|
|
||||||
CRegexp_MULTILINE = rb_const_get(rb_cRegexp, rb_intern("MULTILINE"));
|
|
||||||
i_to_s = rb_intern("to_s");
|
i_to_s = rb_intern("to_s");
|
||||||
i_to_json = rb_intern("to_json");
|
i_to_json = rb_intern("to_json");
|
||||||
i_new = rb_intern("new");
|
i_new = rb_intern("new");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче