[PATCH 11/13] virDomainSnapshotAlignDisks: clarify handing of snapshot location
Eric Blake
eblake at redhat.com
Wed Sep 23 15:33:18 UTC 2020
On 9/23/20 8:33 AM, Peter Krempa wrote:
> Remove the use of the 'disk_snapshot' temporary variable since accessing
> the disk definition now isn't that much longer to write and use expicit
explicit
> value checks instead of the (non-)zero check to make it more obvious
> what the code is doing.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> src/conf/snapshot_conf.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
Reviewed-by: Eric Blake <eblake at redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
More information about the libvir-list
mailing list