[PATCH 11/13] virDomainSnapshotAlignDisks: clarify handing of snapshot location

Ján Tomko jtomko at redhat.com
Wed Sep 23 15:38:45 UTC 2020


On a Wednesday in 2020, 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: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200923/d56a5548/attachment-0001.sig>


More information about the libvir-list mailing list