Peter Maydell aa830cdc28 qjson.h: Remove spurious GCC_FMT_ATTR markup from qobject_from_json() declaration
The function qobject_from_json() doesn't actually allow its
argument to be a format string -- it passes a NULL va_list*
to qobject_from_jsonv(), and the parser code will then never
actually interpret %-escape sequences (it tests whether the
va_list pointer is NULL and will stop with a parse error).

The spurious attribute markup causes clang warnings in some
of the test cases where we programmatically construct JSON
to feed to qobject_from_json():

 tests/test-qmp-input-visitor.c:76:35: warning: format string is not a
 string literal (potentially insecure) [-Wformat-security]
    data->obj = qobject_from_json(json_string);
                                  ^~~~~~~~~~~

Remove the incorrect attribute.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-03-03 09:45:46 +04:00
2014-02-25 10:50:11 +00:00
2014-02-25 14:30:28 +01:00
2014-02-27 11:31:52 +00:00
2014-02-21 15:04:58 +00:00
2014-02-14 21:12:05 +01:00
2014-02-07 16:42:13 +00:00
2014-01-08 19:07:20 +00:00
2014-02-25 14:30:28 +01:00
2014-02-26 22:53:51 +00:00
2014-02-11 22:56:37 +10:00
2014-02-11 22:56:37 +10:00
2014-02-17 11:57:23 -05:00
2014-02-09 09:12:38 +01:00
2014-02-25 14:30:28 +01:00
2014-02-21 21:02:23 +01:00
2014-02-25 14:30:28 +01:00
2014-02-25 14:26:59 +01:00
2014-02-25 10:50:11 +00:00
2014-01-24 17:40:03 +01:00
2014-02-25 10:50:11 +00:00
2014-02-25 10:50:11 +00:00
2014-02-20 13:14:18 +01:00
2014-02-17 11:57:23 -05:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%