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

2021-02-09 Thread Ján Tomko
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. Signe

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

2021-02-06 Thread Peter Krempa
Some callers don't need to know the actual lenght of the list but only 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 --- src/lxc/lxc_native.c | 2 +- src/qemu/qemu_driver.c