[PATCH] qemu: Don't check for qemuDomainManagedSavePath() retval
Peter Krempa
pkrempa at redhat.com
Thu May 12 14:23:13 UTC 2022
On Thu, May 12, 2022 at 15:59:16 +0200, Michal Privoznik wrote:
> The qemuDomainManagedSavePath() function does no more than a
> g_strdup_printf() and as such can't return NULL really.
> Therefore, don't check for its return value.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/qemu/qemu_driver.c | 25 ++++++-------------------
> 1 file changed, 6 insertions(+), 19 deletions(-)
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
More information about the libvir-list
mailing list