Re: [libvirt] [PATCH v2 11/29] conf: Avoid temporary variable in virDomainDiskBackingStoreFormat

2019-04-02 Thread Ján Tomko
On Fri, Mar 22, 2019 at 07:00:47PM +0100, Peter Krempa wrote: Modify the check that the format is in range to be standalone and use the convertor function directly. Signed-off-by: Peter Krempa --- src/conf/domain_conf.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) Reviewed-by:

[libvirt] [PATCH v2 11/29] conf: Avoid temporary variable in virDomainDiskBackingStoreFormat

2019-03-22 Thread Peter Krempa
Modify the check that the format is in range to be standalone and use the convertor function directly. Signed-off-by: Peter Krempa --- src/conf/domain_conf.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index fa4454a6c