summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorRichard Henderson2018-05-12 06:59:43 +0200
committerCornelia Huck2018-05-14 17:10:02 +0200
commitb0dad618baad1efb014c88f4507492a79f2eaf1c (patch)
treeeb30878ba66db312269f2263638031129f9edcb6 /linux-user
parents390x: refactor reset/reipl handling (diff)
downloadqemu-b0dad618baad1efb014c88f4507492a79f2eaf1c.tar.gz
qemu-b0dad618baad1efb014c88f4507492a79f2eaf1c.tar.xz
qemu-b0dad618baad1efb014c88f4507492a79f2eaf1c.zip
target/s390x: Fix brace Werror with clang 6.0.0
The warning is target/s390x/misc_helper.c:209:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] SysIB sysib = { 0 }; ^ {} While the original code is correct, and technically exactly correct as per ISO C89, both GCC and Clang support plain empty set of braces as an extension. Cc: Alexander Graf <agraf@suse.de> Cc: David Hildenbrand <david@redhat.com> Cc: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20180512045950.12386-5-richard.henderson@linaro.org> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions