Skip to content

Commit 923f831

Browse files
committed
Suppress -Wsuggest-attribute=format
1 parent 7c2660b commit 923f831

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

error.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,7 @@ rb_bug_without_die_internal(const char *fmt, va_list args)
10971097
report_bug_valist(file, line, fmt, NULL, args);
10981098
}
10991099

1100+
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 1, 0)
11001101
void
11011102
rb_bug_without_die(const char *fmt, ...)
11021103
{

0 commit comments

Comments
 (0)