ruby-changes:52307
From: ko1 <ko1@a...>
Date: Thu, 23 Aug 2018 14:54:44 +0900 (JST)
Subject: [ruby-changes:52307] ko1:r64515 (trunk): remove `const` warning.
ko1 2018-08-23 14:54:38 +0900 (Thu, 23 Aug 2018) New Revision: 64515 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64515 Log: remove `const` warning. * compile.c (iseq_ibf_load): remove `const` to pass iseq as no `const` parameter. Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 64514) +++ compile.c (revision 64515) @@ -10004,7 +10004,7 @@ const rb_iseq_t * https://github.com/ruby/ruby/blob/trunk/compile.c#L10004 iseq_ibf_load(VALUE str) { struct ibf_load *load; - const rb_iseq_t *iseq; + rb_iseq_t *iseq; VALUE loader_obj = TypedData_Make_Struct(0, struct ibf_load, &ibf_load_type, load); ibf_load_setup(load, loader_obj, str); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/