Re: [PATCH 31/40] Replace virStringListLength where actual lenght is not needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Saturday in 2021, Peter Krempa wrote:
Some callers don't need to know the actual lenght of the list but only

s/lenght/length/ here and in the commit summary

Jano

care whether the required element is present or the list is non-empty.
Don't calculate the list length in those cases.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
src/lxc/lxc_native.c                   | 2 +-
src/qemu/qemu_driver.c                 | 2 +-
src/storage/storage_backend_sheepdog.c | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux