summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-20 10:59:10 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-20 10:59:10 (GMT)
commit11eba07b836d369c7c2bee2ca9142ee4134c207e (patch)
tree38899801f0e5f7cc16eded66252d11893bca19ed /variable.c
parentc022a097739e88bbb0a4d9d1bad719e9dc162290 (diff)
Supress warning: function might be candidate for attribute 'noreturn'
GCC7 shows it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 4d80ce2..1eca5eb 100644
--- a/variable.c
+++ b/variable.c
@@ -976,6 +976,7 @@ gen_ivtbl_get(VALUE obj, struct gen_ivtbl **ivtbl)
}
/* for backwards compatibility only */
+NORETURN(st_table *rb_generic_ivar_table(VALUE));
st_table*
rb_generic_ivar_table(VALUE obj)
{
@@ -1008,7 +1009,6 @@ rb_generic_ivar_table(VALUE obj)
return a.tbl;
#else
DEPRECATED_INTERNAL_FEATURE("rb_generic_ivar_table()");
- return 0;
#endif
}