ruby-changes:58302
From: Aaron <ko1@a...>
Date: Fri, 18 Oct 2019 05:35:57 +0900 (JST)
Subject: [ruby-changes:58302] 1d564acedc (master): Remove unused constant.
https://git.ruby-lang.org/ruby.git/commit/?id=1d564acedc From 1d564acedc820e91c585cb4850844a09f9a6af96 Mon Sep 17 00:00:00 2001 From: Aaron Patterson <tenderlove@r...> Date: Thu, 17 Oct 2019 13:35:26 -0700 Subject: Remove unused constant. This constant isn't used, so lets remove it. diff --git a/ext/json/generator/generator.c b/ext/json/generator/generator.c index e996161..881435e 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, https://github.com/ruby/ruby/blob/trunk/ext/json/generator/generator.c#L15 #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) https://github.com/ruby/ruby/blob/trunk/ext/json/generator/generator.c#L1466 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"); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/