summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 0c6d7e3e63..86e01f64bf 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -2198,6 +2198,7 @@ rb_array_ptr_use_start(VALUE a, int allow_transient)
}
}
#endif
+ (void)allow_transient;
return rb_ary_ptr_use_start(a);
}
@@ -2208,6 +2209,7 @@ rb_array_ptr_use_end(VALUE a, int allow_transient)
{
void rb_ary_ptr_use_end(VALUE a);
rb_ary_ptr_use_end(a);
+ (void)allow_transient;
}
#if defined(EXTLIB) && defined(USE_DLN_A_OUT)