Changing a parameter passed by value has no effect.
Introduced by <commit 3f74b2eb>.
Signed-off-by: Ján Tomko <jtomko(a)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