diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-05-11 21:59:43 -0700 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2018-05-14 17:10:02 +0200 |
commit | b0dad618baad1efb014c88f4507492a79f2eaf1c (patch) | |
tree | eb30878ba66db312269f2263638031129f9edcb6 /ui/sdl2.c | |
parent | a30fb811cbe940020a498d2cdac9326cac38b4d9 (diff) |
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 'ui/sdl2.c')
0 files changed, 0 insertions, 0 deletions