mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00
Use GCC_FMT_ATTR (format checking)
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
e5924d8980
commit
8b7968f7c4
14 changed files with 25 additions and 16 deletions
|
@ -91,7 +91,8 @@ static int token_is_escape(QObject *obj, const char *value)
|
|||
/**
|
||||
* Error handler
|
||||
*/
|
||||
static void parse_error(JSONParserContext *ctxt, QObject *token, const char *msg, ...)
|
||||
static void GCC_FMT_ATTR(3, 4) parse_error(JSONParserContext *ctxt,
|
||||
QObject *token, const char *msg, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue