mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +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
3b559a7778
commit
a6853d691b
@ -200,8 +200,6 @@ virNWFilterCreateVarsFrom(GHashTable *vars1,
|
||||
GHashTable *vars2)
|
||||
{
|
||||
GHashTable *res = virHashNew(virNWFilterVarValueHashFree);
|
||||
if (!res)
|
||||
return NULL;
|
||||
|
||||
if (virNWFilterHashTablePutAll(vars1, res) < 0)
|
||||
goto error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user