diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-05-23 17:27:24 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-05-23 17:36:26 +0900 |
commit | fe3ff5afb07e171fd950623c69abfbabbb2762a3 (patch) | |
tree | e7f285cf9cf0f84375e20c5d572e171b8af021e4 /include/ruby/ruby.h | |
parent | dc95b57a68da6999ce6a1542b3ad81c51429cc99 (diff) |
Suppress paranoid warnings for external/3rd-party libraries
[Feature #15665]
Diffstat (limited to 'include/ruby/ruby.h')
-rw-r--r-- | include/ruby/ruby.h | 2 |
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) |