ruby-changes:45447
From: nobu <ko1@a...>
Date: Sat, 4 Feb 2017 08:50:45 +0900 (JST)
Subject: [ruby-changes:45447] nobu:r57520 (trunk): ruby.h: unused parameter
nobu 2017-02-04 08:50:41 +0900 (Sat, 04 Feb 2017) New Revision: 57520 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57520 Log: ruby.h: unused parameter * include/ruby/ruby.h (rb_scan_args_set): remove unused parameter for more pedantic extension libraries. [ruby-core:79399] [Feature #13184] Modified files: trunk/include/ruby/ruby.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 57519) +++ include/ruby/ruby.h (revision 57520) @@ -2326,17 +2326,17 @@ rb_scan_args_end_idx(const char *fmt) https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L2326 rb_scan_args_f_var(fmt), \ rb_scan_args_f_hash(fmt), \ rb_scan_args_f_block(fmt), \ - rb_scan_args_verify(fmt, varc), vars) + (rb_scan_args_verify(fmt, varc), vars)) ALWAYS_INLINE(static int rb_scan_args_set(int argc, const VALUE *argv, int n_lead, int n_opt, int n_trail, int f_var, int f_hash, int f_block, - int varc, VALUE *vars[])); + VALUE *vars[])); inline int rb_scan_args_set(int argc, const VALUE *argv, int n_lead, int n_opt, int n_trail, int f_var, int f_hash, int f_block, - int varc, VALUE *vars[]) + VALUE *vars[]) { int i, argi = 0, vari = 0; VALUE *var, hash = Qnil; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/