[libvirt] [PATCH 72/75] Drop virVasprintf() retval checking
Daniel Henrique Barboza
danielhb413 at gmail.com
Thu Oct 24 16:18:15 UTC 2019
On 10/22/19 10:58 AM, Michal Privoznik wrote:
> These functions can't fail really. Drop checking of their retval
> then.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/libxl/libxl_logger.c | 3 +--
> src/qemu/qemu_domain.c | 6 ++----
> src/util/viraudit.c | 3 +--
> src/util/vircommand.c | 12 ++----------
> src/util/virerror.c | 6 ++----
> src/util/virfile.c | 29 ++++++-----------------------
> src/util/virfirewall.c | 8 ++------
> src/util/virlog.c | 3 +--
> tests/eventtest.c | 4 ++--
> tests/qemumonitortestutils.c | 4 +---
> tools/virt-host-validate-common.c | 10 ++--------
> tools/vsh.c | 16 ++++------------
> 12 files changed, 26 insertions(+), 78 deletions(-)
>
Reviewed-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
More information about the libvir-list
mailing list