Re: [libvirt] [PATCH 08/34] conf: Avoid temporary variable in virDomainDiskBackingStoreFormat

2019-03-19 Thread Ján Tomko
On Mon, Mar 18, 2019 at 04:54:57PM +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 08/34] conf: Avoid temporary variable in virDomainDiskBackingStoreFormat

2019-03-18 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 b78481c28