aboutsummaryrefslogtreecommitdiff
path: root/target-unicore32
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2016-03-22 10:37:26 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2016-05-18 15:04:26 +0300
commitde4905f4bc645ad2991b9b535e8902f81abaf8c7 (patch)
treea2eed6048beac6592301a05463534023c43547a9 /target-unicore32
parent1d817db3a07774999606f62aa2d8772a82363551 (diff)
qdict: fix unbounded stack warning for qdict_array_entries
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>
Diffstat (limited to 'target-unicore32')
0 files changed, 0 insertions, 0 deletions