summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-23 05:54:38 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-23 05:54:38 (GMT)
commit8752a1ff4e87c226a4dfd966bc10c083a81f8605 (patch)
tree11d3c9f7b83c17c9ba52e1d995bc499c8b348682 /compile.c
parentb85b10c11f9846908a319e72c92e779e46c2217f (diff)
remove `const` warning.
* compile.c (iseq_ibf_load): remove `const` to pass iseq as no `const` parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 00b9e1d..ef92a83 100644
--- a/compile.c
+++ b/compile.c
@@ -10004,7 +10004,7 @@ const rb_iseq_t *
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);