[PATCH 10/13] virDomainSnapshotAlignDisks: remove unnecessary 'tmp' variable

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


On a Wednesday in 2020, Peter Krempa wrote:
>The converted string is used exactly once so we can call the conversion
>without storing the result in a variable.
>

I presume this was done to reduce line length, not to reuse it.

>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/snapshot_conf.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 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/de2afbda/attachment-0001.sig>


More information about the libvir-list mailing list