ruby-changes:53533
From: nobu <ko1@a...>
Date: Fri, 16 Nov 2018 09:28:47 +0900 (JST)
Subject: [ruby-changes:53533] nobu:r65749 (trunk): bignum.c: suppress unused variable warning
nobu 2018-11-16 09:28:43 +0900 (Fri, 16 Nov 2018) New Revision: 65749 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65749 Log: bignum.c: suppress unused variable warning Modified files: trunk/bignum.c Index: bignum.c =================================================================== --- bignum.c (revision 65748) +++ bignum.c (revision 65749) @@ -5089,7 +5089,9 @@ rb_big2str(VALUE x, int base) https://github.com/ruby/ruby/blob/trunk/bignum.c#L5089 static unsigned long big2ulong(VALUE x, const char *type) { +#if SIZEOF_LONG > SIZEOF_BDIGIT size_t i; +#endif size_t len = BIGNUM_LEN(x); unsigned long num; BDIGIT *ds; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/