diff options
author | Takashi Kokubun <[email protected]> | 2025-05-01 10:25:02 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-05-01 10:26:20 -0700 |
commit | 67b91e780798b80038dbfb39a06831918a75259f (patch) | |
tree | 20a92f51b1ba65a323f527c22e3f8bf641c6b23b /symbol.c | |
parent | 17e63f90ca8b9755b515385318460cb7f92a7120 (diff) |
Drop an ignored attribute
GCC 13.3.0 (Ubuntu 24.04) emits the following warning:
../symbol.c: In function ‘rb_id_attrset’:
../symbol.c:175:9: warning: ‘nonstring’ attribute ignored on objects of type ‘const char[][8]’ [-Wattributes]
175 | RBIMPL_ATTR_NONSTRING() static const char id_types[][8] = {
| ^~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'symbol.c')
-rw-r--r-- | symbol.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -172,7 +172,7 @@ rb_id_attrset(ID id) /* make new symbol and ID */ if (!(str = lookup_id_str(id))) { - RBIMPL_ATTR_NONSTRING() static const char id_types[][8] = { + static const char id_types[][8] = { "local", "instance", "invalid", |