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

ruby-changes:42872

From: nobu <ko1@a...>
Date: Sun, 8 May 2016 11:24:52 +0900 (JST)
Subject: [ruby-changes:42872] nobu:r54946 (trunk): intern.h: suppress warnings

nobu	2016-05-08 12:21:28 +0900 (Sun, 08 May 2016)

  New Revision: 54946

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

  Log:
    intern.h: suppress warnings
    
    * include/ruby/intern.h (rb_disable_super, rb_enable_super):
      remove NORETURN.  these do nothing but just return.

  Modified files:
    trunk/include/ruby/intern.h
Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 54945)
+++ include/ruby/intern.h	(revision 54946)
@@ -371,8 +371,8 @@ NORETURN(VALUE rb_f_exit(int, const VALU https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L371
 NORETURN(VALUE rb_f_abort(int, const VALUE*));
 void rb_remove_method(VALUE, const char*);
 void rb_remove_method_id(VALUE, ID);
-NORETURN(DEPRECATED(static inline void rb_disable_super(void)));
-NORETURN(DEPRECATED(static inline void rb_enable_super(void)));
+DEPRECATED(static inline void rb_disable_super(void));
+DEPRECATED(static inline void rb_enable_super(void));
 static inline void rb_disable_super(void)
 {
     /* obsolete - no use */

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

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