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

ruby-changes:49267

From: yui-knk <ko1@a...>
Date: Thu, 21 Dec 2017 16:09:07 +0900 (JST)
Subject: [ruby-changes:49267] yui-knk:r61384 (trunk): iseq.c (rb_iseq_code_range): Remove needless `; `

yui-knk	2017-12-21 16:09:03 +0900 (Thu, 21 Dec 2017)

  New Revision: 61384

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

  Log:
    iseq.c (rb_iseq_code_range): Remove needless `;`

  Modified files:
    trunk/iseq.c
Index: iseq.c
===================================================================
--- iseq.c	(revision 61383)
+++ iseq.c	(revision 61384)
@@ -776,7 +776,7 @@ rb_iseq_code_range(const rb_iseq_t *iseq https://github.com/ruby/ruby/blob/trunk/iseq.c#L776
 {
     if (first_lineno) *first_lineno = iseq->body->location.code_range.first_loc.lineno;
     if (first_column) *first_column = iseq->body->location.code_range.first_loc.column;
-    if (last_lineno) *last_lineno = iseq->body->location.code_range.last_loc.lineno;;
+    if (last_lineno) *last_lineno = iseq->body->location.code_range.last_loc.lineno;
     if (last_column) *last_column = iseq->body->location.code_range.last_loc.column;
 }
 

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

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