]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: domain: Remove checking of return value of virHashCreateFull
authorPeter Krempa <pkrempa@redhat.com>
Tue, 28 Jan 2020 12:40:24 +0000 (13:40 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 31 Jan 2020 13:28:28 +0000 (14:28 +0100)
commit2a5ea0a0c1843c7c43e673b3d2082cc3abdef602
tree6a7edea349bc194d41352854d2cd925430308548
parent50f7483a0d69906e90849f7f0a30f3f535021852
conf: domain: Remove checking of return value of virHashCreateFull

This module has last two direct checks whether the value returned by
virHashCreateFull is NULL. Remove them so that static analyzers don't
get the false idea that checking the value is necessary.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_addr.c