Re: [libvirt] [PATCH 2/3] conf: Clean up virDomainNumaDefCPUFormatXML

2017-12-01 Thread Michal Privoznik
On 11/24/2017 06:18 PM, John Ferlan wrote: > Don't use a unary comparison for an int value - compare against zero > directly instead. > > Signed-off-by: John Ferlan > --- > src/conf/numa_conf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[libvirt] [PATCH 2/3] conf: Clean up virDomainNumaDefCPUFormatXML

2017-11-24 Thread John Ferlan
Don't use a unary comparison for an int value - compare against zero directly instead. Signed-off-by: John Ferlan --- src/conf/numa_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/numa_conf.c b/src/conf/numa_conf.c index