mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
virNWFilterCreateVarsFrom: Remove superfluous goto
s
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
b658836529
commit
0c209b39c9
@ -151,15 +151,12 @@ virNWFilterCreateVarsFrom(GHashTable *vars1,
|
||||
g_autoptr(GHashTable) res = virHashNew(virNWFilterVarValueHashFree);
|
||||
|
||||
if (virNWFilterHashTablePutAll(vars1, res) < 0)
|
||||
goto err_exit;
|
||||
return NULL;
|
||||
|
||||
if (virNWFilterHashTablePutAll(vars2, res) < 0)
|
||||
goto err_exit;
|
||||
return NULL;
|
||||
|
||||
return g_steal_pointer(&res);
|
||||
|
||||
err_exit:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user