target/s390x: Fix brace Werror with clang 6.0.0
commitb0dad618baad1efb014c88f4507492a79f2eaf1c
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 12 May 2018 04:59:43 +0000 (11 21:59 -0700)
committerCornelia Huck <cohuck@redhat.com>
Mon, 14 May 2018 15:10:02 +0000 (14 17:10 +0200)
treeeb30878ba66db312269f2263638031129f9edcb6
parenta30fb811cbe940020a498d2cdac9326cac38b4d9
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>
target/s390x/misc_helper.c