mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
de4905f4bc
Here we use one g_strdup_printf() to replace the two stack allocated array, considering it's more convenient, safe, and as long as it's called rarely only when quorum device opens. This will remove the unbound stack warning when compiling with "-Wstack-usage=1000000". Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> |
||
---|---|---|
.. | ||
json-lexer.c | ||
json-parser.c | ||
json-streamer.c | ||
Makefile.objs | ||
qbool.c | ||
qdict.c | ||
qfloat.c | ||
qint.c | ||
qjson.c | ||
qlist.c | ||
qnull.c | ||
qobject.c | ||
qstring.c |