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 *vars2)
|
||||||
{
|
{
|
||||||
GHashTable *res = virHashNew(virNWFilterVarValueHashFree);
|
GHashTable *res = virHashNew(virNWFilterVarValueHashFree);
|
||||||
if (!res)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
if (virNWFilterHashTablePutAll(vars1, res) < 0)
|
if (virNWFilterHashTablePutAll(vars1, res) < 0)
|
||||||
goto err_exit;
|
goto err_exit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user