diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 03:21:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 03:21:28 +0000 |
commit | 65bbd0884c3ec76ca9bb1dfa54184957ac2dff79 (patch) | |
tree | e63bfb105a6a401629acd9cdce3f8544e4cf0cc2 | |
parent | f2535e14676359cf9e6f04d233f56cff11d1a5ee (diff) | |
download | ruby-65bbd0884c3ec76ca9bb1dfa54184957ac2dff79.tar.gz |
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
-rw-r--r-- | include/ruby/intern.h | 4 |
1 files 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 */ |