mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
With --enable-iptables-lokkit=no, avoid warning about unused parameter.
* src/iptables.c (iptRulesSave) [!ENABLE_IPTABLES_LOKKIT]: Mark parameter as used.
This commit is contained in:
parent
bdbce64bab
commit
6187c6de9b
@ -1,5 +1,9 @@
|
|||||||
Fri Feb 22 13:32:11 CET 2008 Jim Meyering <meyering@redhat.com>
|
Fri Feb 22 13:32:11 CET 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
|
With --enable-iptables-lokkit=no, avoid warning about unused parameter.
|
||||||
|
* src/iptables.c (iptRulesSave) [!ENABLE_IPTABLES_LOKKIT]:
|
||||||
|
Mark parameter as used.
|
||||||
|
|
||||||
With --without-xen, avoid warning about unused function.
|
With --without-xen, avoid warning about unused function.
|
||||||
* tests/statstest.c (testQuietError) [!WITH_XEN]: Don't define.
|
* tests/statstest.c (testQuietError) [!WITH_XEN]: Don't define.
|
||||||
|
|
||||||
|
@ -256,6 +256,8 @@ iptRulesSave(iptRules *rules)
|
|||||||
notifyRulesUpdated(rules->table, rules->path);
|
notifyRulesUpdated(rules->table, rules->path);
|
||||||
else
|
else
|
||||||
notifyRulesRemoved(rules->table, rules->path);
|
notifyRulesRemoved(rules->table, rules->path);
|
||||||
|
#else
|
||||||
|
(void) rules;
|
||||||
#endif /* ENABLE_IPTABLES_LOKKIT */
|
#endif /* ENABLE_IPTABLES_LOKKIT */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user