[libvirt] [PATCH 2/3] conf: remove outdated comment

Ján Tomko posted 3 patches 6 years, 6 months ago
[libvirt] [PATCH 2/3] conf: remove outdated comment
Posted by Ján Tomko 6 years, 6 months ago
When using the ENUM macros, the compiler guards that the declaration
and implementation are in sync.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
---
 src/conf/domain_conf.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index 48b0af4b04..00ff734ff0 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -119,7 +119,6 @@ struct _virDomainDeviceDef {
 };
 
 /* Different types of hypervisor */
-/* NB: Keep in sync with virDomainVirtTypeToString impl */
 typedef enum {
     VIR_DOMAIN_VIRT_NONE = 0,
     VIR_DOMAIN_VIRT_QEMU,
-- 
2.19.2

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 2/3] conf: remove outdated comment
Posted by Peter Krempa 6 years, 6 months ago
On Thu, Jul 25, 2019 at 14:09:11 +0200, Ján Tomko wrote:
> When using the ENUM macros, the compiler guards that the declaration
> and implementation are in sync.
> 
> Signed-off-by: Ján Tomko <jtomko@redhat.com>
> ---
>  src/conf/domain_conf.h | 1 -
>  1 file changed, 1 deletion(-)

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