From 65bbd0884c3ec76ca9bb1dfa54184957ac2dff79 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 8 May 2016 03:21:28 +0000 Subject: [PATCH] intern.h: suppress warnings * include/ruby/intern.h (rb_disable_super, rb_enable_super): remove NORETURN. these do nothing but just return. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/intern.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 20d98cfc3c..7edfccbbf7 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -371,8 +371,8 @@ NORETURN(VALUE rb_f_exit(int, const VALUE*)); 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 */