[libvirt] [PATCH v4 02/10] qemu: Replace macro usage of (false); with just (0)

Jiri Denemark jdenemar at redhat.com
Fri Mar 24 14:15:22 UTC 2017


On Thu, Mar 23, 2017 at 19:02:03 -0400, John Ferlan wrote:
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/qemu/qemu_conf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
> index d3f318d..34646bd 100644
> --- a/src/qemu/qemu_conf.c
> +++ b/src/qemu/qemu_conf.c
> @@ -275,7 +275,7 @@ virQEMUDriverConfigPtr virQEMUDriverConfigNew(bool privileged)
>                             cfg->defaultTLSx509certdir) < 0)            \
>                  goto error;                                            \
>          }                                                              \
> -    } while (false);
> +    } while (0)
>  
>      SET_TLS_X509_CERT_DEFAULT(vnc);
>      SET_TLS_X509_CERT_DEFAULT(spice);

ACK

Jirka




More information about the libvir-list mailing list