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

John Ferlan jferlan at redhat.com
Thu Mar 23 23:02:03 UTC 2017


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);
-- 
2.9.3




More information about the libvir-list mailing list