summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-12-15 23:27:43 -0800
committerTakashi Kokubun <[email protected]>2024-12-15 23:27:43 -0800
commit923f831804b8bc26bf0412b932791d9090ff8ac4 (patch)
tree00c93f1d81d111c0df745a0e055ba7d2caac6999 /error.c
parent7c2660b34774c017accff8a7d78371c2f368b9dc (diff)
Suppress -Wsuggest-attribute=format
Diffstat (limited to 'error.c')
-rw-r--r--error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/error.c b/error.c
index f661806f3e..877c5d5a24 100644
--- a/error.c
+++ b/error.c
@@ -1097,6 +1097,7 @@ rb_bug_without_die_internal(const char *fmt, va_list args)
report_bug_valist(file, line, fmt, NULL, args);
}
+RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 1, 0)
void
rb_bug_without_die(const char *fmt, ...)
{