[libvirt] [PATCH 2/7] nwfilter: remove pointless assignment
Ján Tomko
jtomko at redhat.com
Tue Mar 6 14:01:34 UTC 2018
Changing a parameter passed by value has no effect.
Introduced by <commit 3f74b2eb>.
Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
src/nwfilter/nwfilter_gentech_driver.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/nwfilter/nwfilter_gentech_driver.c b/src/nwfilter/nwfilter_gentech_driver.c
index 840d419bb..5ef26b6af 100644
--- a/src/nwfilter/nwfilter_gentech_driver.c
+++ b/src/nwfilter/nwfilter_gentech_driver.c
@@ -360,7 +360,6 @@ virNWFilterRuleDefToRuleInst(virNWFilterDefPtr def,
inst->nrules,
ruleinst) < 0)
goto cleanup;
- inst = NULL;
ret = 0;
cleanup:
--
2.16.1
More information about the libvir-list
mailing list