diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-26 01:21:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-26 01:21:15 +0000 |
commit | e2803efc3d7b1d8520ab7665eb8765c1dee41846 (patch) | |
tree | 3f3d62399ab3bcdbd71d84f2221a04c5e0811d6d /symbol.c | |
parent | a3b9b9870ebf8e6660572cc266f21d8e9c6fe4d4 (diff) | |
download | bundler-e2803efc3d7b1d8520ab7665eb8765c1dee41846.tar.gz |
symbol.c: suppress warnings
* symbol.c (rb_id_serial_to_id): suppress unused-function warnings
where ID_TABLE_IMPL is 0, 1, or 11.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'symbol.c')
-rw-r--r-- | symbol.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -400,6 +400,9 @@ get_id_entry(rb_id_serial_t num, const enum id_entry_type t) } static inline ID +#ifdef __GNUC__ +__attribute__((unused)) +#endif rb_id_serial_to_id(rb_id_serial_t num) { if (is_notop_id((ID)num)) { |