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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 23, 2017 at 19:02:03 -0400, John Ferlan wrote:
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux