[前][次][番号順一覧][スレッド一覧]

ruby-changes:54025

From: naruse <ko1@a...>
Date: Thu, 6 Dec 2018 19:42:41 +0900 (JST)
Subject: [ruby-changes:54025] naruse:r66245 (trunk): suppress warning: unused variable 'vbits'

naruse	2018-12-06 19:42:35 +0900 (Thu, 06 Dec 2018)

  New Revision: 66245

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66245

  Log:
    suppress warning: unused variable 'vbits'

  Modified files:
    trunk/string.c
Index: string.c
===================================================================
--- string.c	(revision 66244)
+++ string.c	(revision 66245)
@@ -9361,7 +9361,6 @@ rb_str_ord(VALUE s) https://github.com/ruby/ruby/blob/trunk/string.c#L9361
 static VALUE
 rb_str_sum(int argc, VALUE *argv, VALUE str)
 {
-    VALUE vbits;
     int bits = 16;
     char *ptr, *p, *pend;
     long len;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]