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
This commit is contained in:
parent
c022a09773
commit
11eba07b83
@ -976,6 +976,7 @@ gen_ivtbl_get(VALUE obj, struct gen_ivtbl **ivtbl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* for backwards compatibility only */
|
/* for backwards compatibility only */
|
||||||
|
NORETURN(st_table *rb_generic_ivar_table(VALUE));
|
||||||
st_table*
|
st_table*
|
||||||
rb_generic_ivar_table(VALUE obj)
|
rb_generic_ivar_table(VALUE obj)
|
||||||
{
|
{
|
||||||
@ -1008,7 +1009,6 @@ rb_generic_ivar_table(VALUE obj)
|
|||||||
return a.tbl;
|
return a.tbl;
|
||||||
#else
|
#else
|
||||||
DEPRECATED_INTERNAL_FEATURE("rb_generic_ivar_table()");
|
DEPRECATED_INTERNAL_FEATURE("rb_generic_ivar_table()");
|
||||||
return 0;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user