diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-10-17 13:35:26 -0700 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-10-17 13:35:26 -0700 |
commit | 1d564acedc820e91c585cb4850844a09f9a6af96 (patch) | |
tree | a198dc53665d90cf69c2182fbc940813a690bfff /ext/json | |
parent | 9026e12f93bb0f3f63d7449cdb5eabb2e660088f (diff) | |
download | ruby-1d564acedc820e91c585cb4850844a09f9a6af96.tar.gz |
Remove unused constant.
This constant isn't used, so lets remove it.
Diffstat (limited to 'ext/json')
-rw-r--r-- | ext/json/generator/generator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/json/generator/generator.c b/ext/json/generator/generator.c index e9961618a9..881435e3dc 100644 --- a/ext/json/generator/generator.c +++ b/ext/json/generator/generator.c @@ -15,7 +15,7 @@ static VALUE mJSON, mExt, mGenerator, cState, mGeneratorMethods, mObject, #endif mFloat, mString, mString_Extend, mTrueClass, mFalseClass, mNilClass, eGeneratorError, - eNestingError, CRegexp_MULTILINE, + eNestingError, i_SAFE_STATE_PROTOTYPE; 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"); 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_json = rb_intern("to_json"); i_new = rb_intern("new"); |