mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
virNWFilterCreateVarsFrom: virHashNew
cannot return NULL
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
8a7c2f9936
commit
a51af3d030
@ -149,8 +149,6 @@ virNWFilterCreateVarsFrom(GHashTable *vars1,
|
||||
GHashTable *vars2)
|
||||
{
|
||||
GHashTable *res = virHashNew(virNWFilterVarValueHashFree);
|
||||
if (!res)
|
||||
return NULL;
|
||||
|
||||
if (virNWFilterHashTablePutAll(vars1, res) < 0)
|
||||
goto err_exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user