mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 15:48:20 +00: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:
@ -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);
|
||||
|
Reference in New Issue
Block a user