On 3/13/19 3:46 AM, Kamal Heib wrote: > Signed-off-by: Kamal Heib <kamalhe...@gmail.com> > --- > hw/rdma/rdma_backend.c | 18 +++++++++--------- > hw/rdma/vmw/pvrdma_cmd.c | 2 +- > hw/rdma/vmw/pvrdma_qp_ops.c | 2 +- > 3 files changed, 11 insertions(+), 11 deletions(-)
{0} is standard C (but some versions of clang have a bug that it mistakenly warns for certain structs); {} is an extension (but one that both gcc and clang support). Did you hit the actual clang bug that requires this change, or are you only doing it for consistency? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature