aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-13 11:27:09 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-13 11:27:09 +0900
commitaa5759a22b675d05d1f8cbfe4558eb37915c27fb (patch)
tree9406555e5549a801920f126a618b1b2657d67d57 /symbol.c
parent5c646ca0a09c5249b20cf5645e27ee75fe4dff04 (diff)
downloadruby-aa5759a22b675d05d1f8cbfe4558eb37915c27fb.tar.gz
`rb_id_serial_to_id` is used in `key2id` since 4c2d014e9216
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/symbol.c b/symbol.c
index 528ab2d640..94a751d5e3 100644
--- a/symbol.c
+++ b/symbol.c
@@ -482,9 +482,6 @@ get_id_entry(ID id, 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)) {