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

ruby-changes:32851

From: normal <ko1@a...>
Date: Thu, 13 Feb 2014 18:40:07 +0900 (JST)
Subject: [ruby-changes:32851] normal:r44930 (trunk): re.c (rb_reg_raise): remove volatile

normal	2014-02-13 18:40:03 +0900 (Thu, 13 Feb 2014)

  New Revision: 44930

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44930

  Log:
    re.c (rb_reg_raise): remove volatile
    
    * re.c (rb_reg_raise): remove volatile
      Unnecessary since r41597

  Modified files:
    trunk/ChangeLog
    trunk/re.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44929)
+++ ChangeLog	(revision 44930)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Feb 13 18:38:15 2014  Eric Wong  <e@8...>
+
+	* re.c (rb_reg_raise): remove volatile
+	  Unnecessary since r41597
+
 Thu Feb 13 18:28:51 2014  Eric Wong  <e@8...>
 
 	* re.c (rb_reg_regcomp): remove volatile
Index: re.c
===================================================================
--- re.c	(revision 44929)
+++ re.c	(revision 44930)
@@ -630,7 +630,7 @@ rb_reg_to_s(VALUE re) https://github.com/ruby/ruby/blob/trunk/re.c#L630
 static void
 rb_reg_raise(const char *s, long len, const char *err, VALUE re)
 {
-    volatile VALUE desc = rb_reg_desc(s, len, re);
+    VALUE desc = rb_reg_desc(s, len, re);
 
     rb_raise(rb_eRegexpError, "%s: %"PRIsVALUE, err, desc);
 }

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

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