1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 18:13:12 +02:00

Mark format strings with the GNU printf attribute.

This commit is contained in:
Sadie Powell
2024-01-06 14:34:00 +00:00
parent 7ddc865cde
commit a4dddfd5f1
10 changed files with 30 additions and 24 deletions
+1 -1
View File
@@ -1070,7 +1070,7 @@ class BSKick : public Module
}
}
void bot_kick(ChannelInfo *ci, User *u, const char *message, ...)
void bot_kick(ChannelInfo *ci, User *u, const char *message, ...) ATTR_FORMAT(4, 5)
{
va_list args;
char buf[1024];