提交 6187c6de 编写于 作者: J Jim Meyering

With --enable-iptables-lokkit=no, avoid warning about unused parameter.

* src/iptables.c (iptRulesSave) [!ENABLE_IPTABLES_LOKKIT]:
Mark parameter as used.
上级 bdbce64b
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) ...@@ -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 */
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册